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));
}