You are here

public function AmazonSesClientServiceTest::testCreateInstance in Amazon SES 2.0.x

Tests that the client service creates a SesClient object.

File

tests/src/Kernel/AmazonSesClientServiceTest.php, line 35

Class

AmazonSesClientServiceTest
Tests the Amazon SES Client service.

Namespace

Drupal\Tests\amazon_ses\Kernel

Code

public function testCreateInstance() {
  $client = $this->container
    ->get('amazon_ses.client');
  $this
    ->assertInstanceOf(SesClient::class, $client);
}