AssetManagerTest\View\Helper\AssetTest::testSameResultWithoutCachingConfig PHP Method

testSameResultWithoutCachingConfig() public method

    public function testSameResultWithoutCachingConfig()
    {
        $config = array('view_helper' => array('append_timestamp' => true, 'query_string' => '_', 'cache' => null));
        $filename = 'porn-food/bac.on';
        $resolver = $this->getGenericResolver();
        $resolver->setMap(array('porn-food/bac.on' => __FILE__));
        $helper = new Asset($resolver, null, $config);
        $newFilename = $helper->__invoke($filename);
        $this->assertContains('?_=', $newFilename);
        $this->assertNotSame($newFilename, $filename);
    }