AssetManagerTest\Service\AssetFilterManagerTest::testensureByServiceInvalid PHP Method

testensureByServiceInvalid() public method

    public function testensureByServiceInvalid()
    {
        $assetFilterManager = new AssetFilterManager(array('test/path.test' => array(array('service' => 9))));
        $serviceManager = new ServiceManager();
        $serviceManager->setService('testFilter', new \CustomFilter());
        $assetFilterManager->setServiceLocator($serviceManager);
        $asset = new StringAsset('Herp derp');
        $assetFilterManager->setFilters('test/path.test', $asset);
        $this->assertEquals('called', $asset->dump());
    }