public function testRespondsTo() { $obj = new MockMethodFiltering(); $this->assertTrue($this->respondsTo('applyFilter')); $this->assertFalse($this->respondsTo('fooBarBaz')); }