@Test
public void callFunctionReturningNonString() throws IOException {

    setUpWireMockForCall("invokefunction", "invokefunction_totalSupply.json",
            NEO_SCRIPT_HASH.toString(), NEP5_NAME);
    SmartContract sc = new SmartContract(NEO_SCRIPT_HASH, this.neow);
    expectedException.expect(UnexpectedReturnTypeException.class);
    expectedException.expectMessage(new StringContains(StackItemType.INTEGER.jsonValue()));
    sc.callFuncReturningString(NEP5_NAME);
}