### Question:
DefaultOverledgerSDK implements OverledgerSDK { @Override public OverledgerTransactions readTransactions(String mappId) throws Exception { OverledgerTransactions overledgerTransactions = null; try { overledgerTransactions = this.client.getTransactions(mappId, OverledgerTransactionsResponse.class); } catch (Exception e) { this.throwCauseException(e); } return overledgerTransactions; } private  DefaultOverledgerSDK(NETWORK network); private  DefaultOverledgerSDK(NETWORK network, AccountManager accountManager, Client client); NETWORK getNetwork(); @Override void initial(NETWORK network); @Override void addAccount(String dlt, Account account); @Override OverledgerTransaction writeTransaction(OverledgerTransaction ovlTransaction); @Override OverledgerTransaction readTransaction(UUID overledgerTransactionID); @Override OverledgerTransactions readTransactions(String mappId); @Override OverledgerTransactions readTransactions(String mappId, PageParams pageParams); @Override @Deprecated OverledgerTransaction readTransaction(String dlt, String transactionHash); @Override Transaction searchTransaction(String transactionHash, Class<Transaction> responseClass); @Override @Deprecated Address searchAddress(String address, Class<Address> responseClass); @Override Address searchAddress(String address); @Deprecated Block searchBlock(String dlt, String blockhash, Class<Block> responseClass); @Override Block searchBlock(String dlt, String blockhash); @Override Block searchBlock(String dlt, BigDecimal blocknumber); @Override List<BalanceResponse> getBalance(List<BalanceRequest> balanceRequests); @Override SequenceResponse getSequence(SequenceRequest sequenceRequest); OverledgerTransaction writeTransaction(OverledgerTransaction ovlTransaction, byte[] data); OverledgerTransaction writeTransaction(OverledgerTransaction ovlTransaction, InputStream inputStream); static DefaultOverledgerSDK newInstance(NETWORK network); static DefaultOverledgerSDK newInstance(NETWORK network, AccountManager accountManager, Client client); static DefaultOverledgerSDK newInstance(); static DefaultOverledgerSDK newInstance(AccountManager accountManager, Client client);  }### Answer:
@Test public void test006ReadTransactions_ShouldSuccess() throws Exception { DltTransactionResponse dltTransactionResponse = new DltTransactionResponse(); dltTransactionResponse.setDlt(DLT.bitcoin.name()); this.overledgerTransactionResponse.setMappId("network.quant.essential"); this.overledgerTransactionResponse.setOverledgerTransactionId(this.transactionId); this.overledgerTransactionResponse.setDltData(Collections.singletonList(dltTransactionResponse)); Mockito.when(this.client.getTransactions(Mockito.anyString(), eq(OverledgerTransactionsResponse.class))).thenReturn(this.overledgerTransactionsResponse); OverledgerTransactions overledgerTransactionList = this.overledgerSDK.readTransactions("network.quant.essential"); Assert.assertNotNull(overledgerTransactionList); Assert.assertEquals(1, overledgerTransactionList.getTotalTransactions()); Assert.assertEquals(this.overledgerTransactionResponse, overledgerTransactionList.getTransactions().get(0)); Mockito.verify(this.client, Mockito.only()).getTransactions(this.stringArgumentCaptor.capture(), eq(OverledgerTransactionsResponse.class)); }