@Test
public void testSignedMessageToKey() throws SignatureException {

    Sign.SignatureData signatureData = Sign.signMessage(TEST_MESSAGE, SampleKeys.KEY_PAIR);
    BigInteger key = Sign.signedMessageToKey(TEST_MESSAGE, signatureData);
    assertThat(key, equalTo(SampleKeys.PUBLIC_KEY));
}