@Test
public void testDecodeIndexedUint256Value() {

    Uint256 value = new Uint256(BigInteger.TEN);
    String encoded = TypeEncoder.encodeNumeric(value);
    assertThat(FunctionReturnDecoder.decodeIndexedValue(
            encoded,
            new TypeReference<Uint256>() {}),
            equalTo(value));
}