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

process_noTaggedServices_replaceArgumentWithEmptyArray() public method

    public function process_noTaggedServices_replaceArgumentWithEmptyArray()
    {
        $this->createServiceDefinition();
        $taggedServices = array();
        $this->stubContainerService($taggedServices);
        //Mock the Definition
        $this->registryDefinition->expects($this->once())->method('replaceArgument')->with(3, array());
        $this->voterDefinition->expects($this->once())->method('replaceArgument')->with(1, array());
        $this->compilerPass->process($this->container);
    }