/**
  * @test
  * @dataProvider provideSha512Request
  */
 public function Sha512StringIsComposedCorrectly(PassPhrase $passphrase, array $request, $expectedSha)
 {
     $composer = new AllParametersShaComposer($passphrase, new HashAlgorithm(HashAlgorithm::HASH_SHA512));
     $composer->addParameterFilter(new ShaOutParameterFilter());
     $this->assertEquals($expectedSha, $composer->compose($request));
 }