for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GuillermoandraeTest\App;
use Guillermoandrae\App\Response;
use PHPUnit\Framework\TestCase;
final class ResponseTest extends TestCase
{
public function testSend()
$response = new Response();
$output = $response->send();
$body = json_decode($output['body'], true);
$this->assertArrayHasKey('template', $body['meta']);
}