I have a following class in my PHP code:
<?php declare(strict_types=1); use function Http\Response\send; use Psr\Http\Message\ResponseInterface; class ResponseSender implements ResponseSenderInterface { public function __invoke(ResponseInterface $response) : void { send($response); } } The interface allows other codes to switch how they should "send an HTTP response", and this class simply binds a 3rd-party implementation to that interface.
Is this class too simple to test?