@Test
public void callFunctionReturningInt() throws IOException {

    setUpWireMockForCall("invokefunction", "invokefunction_totalSupply.json",
            NEO_SCRIPT_HASH.toString(), NEP5_TOTALSUPPLY);
    SmartContract sc = new SmartContract(NEO_SCRIPT_HASH, this.neow);
    BigInteger supply = sc.callFuncReturningInt(NEP5_TOTALSUPPLY);
    assertThat(supply, is(BigInteger.valueOf(3000000000000000L)));
}