Inheritance: extends Dumplie\SharedKernel\Infrastructure\Symfony\HttpKernel\Kernel
Beispiel #1
0
 public function test_exntesion_endpoints_execution()
 {
     $extensionProphecy = $this->prophesize(Extension::class);
     $extensionProphecy->dependsOn()->willReturn([]);
     $extensionProphecy->build(Argument::type(ServiceContainer::class))->shouldBeCalled();
     $extensionProphecy->boot(Argument::type(ServiceLocator::class))->shouldBeCalled();
     $kernel = new KernelStub([$extensionProphecy->reveal()]);
     $kernel->setExtensions();
     $kernel->boot();
 }