Scheb\TwoFactorBundle\Tests\DependencyInjection\Compiler\ProviderCompilerPassTest::process_notHasDefinition_doNothing PHP Метод

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

    public function process_notHasDefinition_doNothing()
    {
        //Expect get never be called
        $this->container->expects($this->once())->method('hasDefinition')->with('scheb_two_factor.provider_registry')->willReturn(false);
        $this->container->expects($this->never())->method('getDefinition');
        $this->compilerPass->process($this->container);
    }