### Question:
IMDBTransactionDao implements TransactionDao { @Override public LiveData<HttpTransaction> getTransactionsWithId(long id) { return transactionArchComponentProvider.getLiveData(transactionDataStore, id); } IMDBTransactionDao(TransactionDataStore transactionDataStore, TransactionArchComponentProvider transactionArchComponentProvider, TransactionPredicateProvider transactionPredicateProvider); @Override long insertTransaction(HttpTransaction httpTransaction); @Override int updateTransaction(HttpTransaction httpTransaction); @Override int deleteTransactions(HttpTransaction... httpTransactions); @Override int deleteTransactionsBefore(Date beforeDate); @Override int clearAll(); @Override DataSource.Factory<Integer, HttpTransaction> getAllTransactions(); @Override LiveData<HttpTransaction> getTransactionsWithId(long id); @Override DataSource.Factory<Integer, HttpTransaction> getAllTransactionsWith(String key, SearchType searchType);  }### Answer:
@Test public void getTransactionsWithId_shouldCallArchComponentProviderWithRequestedTransactionId() { transactionDao.getTransactionsWithId(10L); verify(transactionArchComponentProvider).getLiveData(eq(transactionDataStore), eq(10L)); }