@Test
public void testSimpleFunctionDecode() {

    Function function = new Function(
            "test",
            Collections.<Type>emptyList(),
            Collections.singletonList(new TypeReference<Uint>(){})
    );
    assertThat(FunctionReturnDecoder.decode(
            "0x0000000000000000000000000000000000000000000000000000000000000037",
            function.getOutputParameters()),
            equalTo(Collections.singletonList(new Uint(BigInteger.valueOf(55)))));
}