@Test
public void testTypeMap() throws Exception {

    final List<BigInteger> input = Arrays.asList(
            BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN);
    assertThat(typeMap(input, Uint256.class),
            equalTo(Arrays.asList(
                    new Uint256(BigInteger.ZERO),
                    new Uint256(BigInteger.ONE),
                    new Uint256(BigInteger.TEN))));
}