Use class constant instead of hardcoded namespace

This commit is contained in:
Fabri Di Napoli
2017-03-08 23:59:36 +01:00
parent 83ed248e17
commit eb3b8529b6

View File

@@ -19,6 +19,6 @@ class ProxyTest extends \PHPUnit_Framework_TestCase
$recordProxy = new RecordProxy([]);
$recordProxy->username = 'baz';
$this->assertInstanceOf('DesignPatterns\Structural\Proxy\Record', $recordProxy);
$this->assertInstanceOf(RecordProxy::class, $recordProxy);
}
}