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