PhpMigration\Changes\v5dot3\DeprecatedTest::testAssignNewByRef PHP Method

testAssignNewByRef() public method

public testAssignNewByRef ( )
    public function testAssignNewByRef()
    {
        // Direct assign
        $this->assertNotSpot('$o = new Class_();');
        // By-reference
        $this->assertHasSpot('$o = &new Class_();');
    }