public function testWithBadMethodName() { $methodName = 'delGerard'; $reflection = new Reflection(); $return = $reflection->getProperty($methodName); $this->assertNotEquals($return, 'Gerard'); $this->assertEquals($return, null); }