Nep5Token extends SmartContract { public String getName() throws IOException, UnexpectedReturnTypeException { if (this.name == null) { this.name = callFuncReturningString(NEP5_NAME); } return this.name; } Nep5Token(ScriptHash scriptHash, Neow3j neow); String getName(); String getSymbol(); BigInteger getTotalSupply(); int getDecimals(); BigInteger getBalanceOf(ScriptHash scriptHash); BigInteger getBalanceOf(Wallet wallet); TransactionBuilder transfer(Wallet wallet, ScriptHash to, BigDecimal amount); TransactionBuilder transferFromSpecificAccounts(Wallet wallet, ScriptHash to,
            BigDecimal amount, ScriptHash... from); TransactionBuilder transferFromDefaultAccount(Wallet wallet, ScriptHash to,
            BigDecimal amount);  }
@Test public void testGetName() throws IOException { setUpWireMockForInvokeFunction("name", "invokefunction_name.json"); assertThat(neoToken.getName(), is("NEO")); }