public function testSetPluginLoaderInvalidType() { $input = new InputFilter(null, null); $loader = new PluginLoader(); $this->setExpectedException('\\Zend\\Filter\\Exception', 'Invalid type'); $input->setPluginLoader($loader, 'foo'); }