/**
  * @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 testGetClaimCheckSerializer()
 {
     self::assertInstanceOf(ClaimCheckSerializerInterface::class, $this->sut->getClaimCheckSerializer());
     $this->sut->setClaimCheckSerializer($expected = new ClaimCheckSerializerChain());
     self::assertSame($expected, $this->sut->getClaimCheckSerializer());
 }