public function parseShouldExtractASignatureBasedOnTheHash(string $algorithm) { $serializer = new SignatureSerializer($this->mathInterface); self::assertEquals($this->signature, $serializer->parse($this->signatureData[$algorithm], $algorithm)); }