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