### Question:
PolicyContract extends SmartContract { public Integer getFeePerByte() throws IOException { return callFuncReturningInt(GET_FEE_PER_BYTE).intValue(); } PolicyContract(Neow3j neow); Integer getMaxTransactionsPerBlock(); Integer getMaxBlockSize(); BigInteger getMaxBlockSystemFee(); Integer getFeePerByte(); List<ScriptHash> getBlockedAccounts(); TransactionBuilder setMaxBlockSize(Integer maxBlockSize); TransactionBuilder setMaxTransactionsPerBlock(Integer maxTxPerBlock); TransactionBuilder setMaxBlockSystemFee(BigInteger maxBlockSystemFee); TransactionBuilder setFeePerByte(Integer fee); TransactionBuilder blockAccount(ScriptHash accountToBlock); TransactionBuilder unblockAccount(ScriptHash accountToUnblock); static final ScriptHash SCRIPT_HASH; }### Answer:
@Test public void getFeePerByte() throws IOException { setUpWireMockForInvokeFunction("getFeePerByte", "policy_getFeePerByte.json"); PolicyContract policyContract = new PolicyContract(this.neow3j); assertThat(policyContract.getFeePerByte(), is(1000)); }