Go\Aop\Framework\DynamicClosureSplatMethodInvocationTest::testValueChangedByReference PHP Method

testValueChangedByReference() public method

    public function testValueChangedByReference()
    {
        $child = $this->getMock(self::FIRST_CLASS_NAME, array('none'));
        $invocation = new self::$invocationClass(self::FIRST_CLASS_NAME, 'passByReference', []);
        $value = 'test';
        $result = $invocation($child, array(&$value));
        $this->assertEquals(null, $result);
        $this->assertEquals(null, $value);
    }