public function testRespondsToProtectedMethod() { $obj = new MockMethodFiltering(); $this->assertFalse($this->respondsTo('_parents')); $this->assertTrue($this->respondsTo('_parents', 1)); }