@Test
public void testUintEncode() {

    Uint zero = new Uint64(BigInteger.ZERO);
    assertThat(PlatOnTypeEncoder.encode(zero),
            is("0000000000000000"));
    Uint maxLong = new Uint64(BigInteger.valueOf(Long.MAX_VALUE));
    assertThat(PlatOnTypeEncoder.encode(maxLong),
            is("7fffffffffffffff"));	
}