public function ResourceServersTest::testThatMethodAndPropertyReturnSameClass in Auth0 Single Sign On 8.2
File
- vendor/
auth0/ auth0-php/ tests/ API/ Management/ ResourceServersTest.php, line 64
Class
- ResourceServersTest
- Class ResourceServersTest.
Namespace
Auth0\Tests\API\ManagementCode
public function testThatMethodAndPropertyReturnSameClass() {
$api = new Management(uniqid(), uniqid());
$this
->assertInstanceOf(Management\ResourceServers::class, $api->resource_servers);
$this
->assertInstanceOf(Management\ResourceServers::class, $api
->resourceServers());
$api->resource_servers = null;
$this
->assertInstanceOf(Management\ResourceServers::class, $api
->resourceServers());
}