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

testStaticLsbIsWorking() public method

Tests static method invocations with Late Static Binding
public testStaticLsbIsWorking ( $methodName )
    public function testStaticLsbIsWorking($methodName)
    {
        $childClass = $this->getMockClass(self::FIRST_CLASS_NAME, array($methodName));
        $invocation = new self::$invocationClass(self::FIRST_CLASS_NAME, $methodName, []);
        $result = $invocation($childClass);
        $this->assertEquals($childClass, $result);
    }