@Test
public void equals() {

    // first message has script hash 159759880646822985762674987218710759559479736571 (as integer)
    byte[] m1 = Numeric.hexStringToByteArray("01a402d8");
    // first message has script hash 776468865644545852461964229176363821261390671687 (as integer)
    byte[] m2 = Numeric.hexStringToByteArray("d802a401");
    ScriptHash sh1 = ScriptHash.fromScript(m1);
    ScriptHash sh2 = ScriptHash.fromScript(m2);
    assertNotEquals(sh1, sh2);
    assertNotEquals(sh2, sh1);
    assertEquals(sh1, sh1);
}