You are here

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

Check to make sure that the 'current' option gives us a client.

File

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

Class

AcquiadamClientFactoryTest
Client factory test.

Namespace

Drupal\Tests\media_acquiadam\Unit

Code

public function testFactoryGetCurrent() {
  $client = $this->clientFactory
    ->get('current');
  $this
    ->assertInstanceOf(Client::class, $client);
}