for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TheCodingMachine\GraphQL\Controllers\Registry;
use PHPUnit\Framework\TestCase;
use Psr\Container\NotFoundExceptionInterface;
class EmptyContainerTest extends TestCase
{
public function testContainer()
$container = new EmptyContainer();
$this->assertFalse($container->has('foo'));
$this->expectException(NotFoundExceptionInterface::class);
$container->get('foo');
}