spec\Laracasts\Behat\Context\KernelAwareInitializerSpec::it_sets_the_kernel_on_the_context_if_its_kernel_aware PHP Метод

it_sets_the_kernel_on_the_context_if_its_kernel_aware() публичный Метод

public it_sets_the_kernel_on_the_context_if_its_kernel_aware ( Laracasts\Behat\Context\KernelAwareContext $context, Symfony\Component\HttpKernel\HttpKernelInterface $kernel )
$context Laracasts\Behat\Context\KernelAwareContext
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
    function it_sets_the_kernel_on_the_context_if_its_kernel_aware(KernelAwareContext $context, HttpKernelInterface $kernel)
    {
        $context->setApp($kernel)->shouldBeCalled();
        $this->initializeContext($context);
    }