@Test
public void testMultipleResultFunctionDecode() {

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