Scheb\TwoFactorBundle\Tests\DependencyInjection\Compiler\ProviderCompilerPassTest::stubContainerService PHP Method

stubContainerService() private method

private stubContainerService ( $taggedServices )
    private function stubContainerService($taggedServices)
    {
        $this->createServiceDefinition();
        $this->container->expects($this->at(0))->method('hasDefinition')->with('scheb_two_factor.provider_registry')->willReturn(true);
        $this->container->expects($this->at(1))->method('getDefinition')->with('scheb_two_factor.provider_registry')->willReturn($this->registryDefinition);
        $this->container->expects($this->at(2))->method('getDefinition')->with('scheb_two_factor.security_voter')->willReturn($this->voterDefinition);
        $this->container->expects($this->at(3))->method('findTaggedServiceIds')->with('scheb_two_factor.provider')->willReturn($taggedServices);
    }