You are here

public function BlacklistsTest::testThatMethodAndPropertyReturnSameClass in Auth0 Single Sign On 8.2

File

vendor/auth0/auth0-php/tests/API/Management/BlacklistsTest.php, line 80

Class

BlacklistsTest

Namespace

Auth0\Tests\API\Management

Code

public function testThatMethodAndPropertyReturnSameClass() {
  $api = new Management(uniqid(), uniqid());
  $this
    ->assertInstanceOf(Management\Blacklists::class, $api->blacklists);
  $this
    ->assertInstanceOf(Management\Blacklists::class, $api
    ->blacklists());
  $api->blacklists = null;
  $this
    ->assertInstanceOf(Management\Blacklists::class, $api
    ->blacklists());
}