ApiPlatform\Core\Tests\Util\ReflectionTest::testWithBadMethodName PHP Method

testWithBadMethodName() public method

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