for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace GacelaTest\Integration\Framework\RemoveKeyFromContainer;
use Gacela\Framework\Container\Exception\ContainerKeyNotFoundException;
use Gacela\Framework\Gacela;
use PHPUnit\Framework\TestCase;
final class IntegrationTest extends TestCase
{
public function setUp(): void
Gacela::bootstrap(__DIR__);
}
public function test_remove_key_from_container(): void
$this->expectException(ContainerKeyNotFoundException::class);
$facade = new AddAndRemoveKey\Facade();
$facade->doSomething();