Contao\CoreBundle\Test\DependencyInjection\Compiler\AddImagineClassPassTest::testProcess PHP Method

testProcess() public method

Tests processing the pass.
public testProcess ( )
    public function testProcess()
    {
        $container = new ContainerBuilder();
        $container->setDefinition('contao.image.imagine', new Definition());
        $pass = new AddImagineClassPass();
        $pass->process($container);
        $this->assertContains($container->getDefinition('contao.image.imagine')->getClass(), ['Imagine\\Gd\\Imagine', 'Imagine\\Gmagick\\Imagine', 'Imagine\\Imagick\\Imagine']);
    }
AddImagineClassPassTest