/**
  * @param string $message
  * @return ClaimCheck
  */
 private function storeMessageInS3($message)
 {
     $s3Client = $this->configuration->getS3Client();
     $s3BucketName = $this->configuration->getS3BucketName();
     $claimCheckFactory = $this->configuration->getClaimCheckFactory();
     $claimCheck = $claimCheckFactory->create();
     $s3Client->putObject(['Bucket' => $s3BucketName, 'Key' => $claimCheck->getS3Key(), 'Body' => $message]);
     return $claimCheck;
 }
 public function testGetS3BucketName()
 {
     self::assertEquals($this->s3BucketName, $this->sut->getS3BucketName());
     $this->sut->setS3BucketName($expected = 'AnotherBucket');
     self::assertSame($expected, $this->sut->getS3BucketName());
 }