You are here

public function S3ClientTest::testValidateBucketExistsFail in AmazonS3 7.2

@covers \Drupal\amazons3\S3Client::validateBucketExists @expectedException \Drupal\amazons3\Exception\S3ConnectValidationException

File

tests/S3ClientTest.php, line 42

Class

S3ClientTest
Tests \Drupal\amazons3\S3Client.

Namespace

Drupal\amazons3

Code

public function testValidateBucketExistsFail() {
  $client = DrupalS3Client::factory();
  DrupalS3Client::validateBucketExists('bucket', $client);
}