You are here

public function AcquiadamClientFactoryTest::testFactoryGetWithCredentials in Media: Acquia DAM 8

Check to make sure that we can get a client directly.

File

tests/src/Unit/AcquiadamClientFactoryTest.php, line 56

Class

AcquiadamClientFactoryTest
Client factory test.

Namespace

Drupal\Tests\media_acquiadam\Unit

Code

public function testFactoryGetWithCredentials() {
  $client = $this->clientFactory
    ->getWithCredentials('nothing', 'nothing', 'nothing', 'nothing');
  $this
    ->assertInstanceOf(Client::class, $client);
}