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

testStaticSelfMethodInvocation() public method

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