/** * @return void */ public function testCallingUnknownMethod() { if (!extension_loaded('mcrypt')) { $this->markTestSkipped('Mcrypt extension not installed'); } $this->setExpectedException('\\Zend\\Filter\\Exception\\BadMethodCallException', 'Unknown method'); $filter = new EncryptFilter(); $filter->getUnknownMethod(); }