@Test
public void testUintDecode() {

    assertThat(TypeDecoder.decodeNumeric(
            "0000000000000000000000000000000000000000000000000000000000000000",
            Uint64.class
            ),
            is(new Uint64(BigInteger.ZERO)));
    assertThat(TypeDecoder.decodeNumeric(
            "0000000000000000000000000000000000000000000000007fffffffffffffff",
            Uint64.class
            ),
            is(new Uint64(BigInteger.valueOf(Long.MAX_VALUE))));
    assertThat(TypeDecoder.decodeNumeric(
            "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            Uint64.class
            ),
            is(new Uint64(new BigInteger(
                    "0ffffffffffffffff", 16))));
}