public function verifyHashShouldReturnTheSignerResult()
{
$key = $this->createMock(PublicKeyInterface::class);
$signature = $this->createMock(SignatureInterface::class);
$signingHash = gmp_init(1, 10);
$this->serializer->expects($this->once())->method('parse')->with('test', 'sha256')->willReturn($signature);
$this->signer->expects($this->once())->method('verify')->with($key, $signature, $signingHash)->willReturn(true);
$adapter = $this->createAdapter();
self::assertTrue($adapter->verifyHash('test', $key, $signingHash, 'sha256'));
}