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