Go\Aop\Framework\StaticClosureMethodInvocationTest::testStaticSelfNotOverridden PHP Method

testStaticSelfNotOverridden() public method

Tests static method invocations with self not overridden with parent
public testStaticSelfNotOverridden ( $methodName, $expectedResult )
    public function testStaticSelfNotOverridden($methodName, $expectedResult)
    {
        $childClass = $this->getMockClass(self::FIRST_CLASS_NAME, array($methodName));
        $invocation = new self::$invocationClass(self::FIRST_CLASS_NAME, $methodName, []);
        $result = $invocation($childClass);
        $this->assertEquals($expectedResult, $result);
    }