### Question:
CreditRepository { @NonNull public Observable<Option<List<CreditDraft>>> getAllCreditDrafts() { return store.getAll(); } @Inject  CreditRepository(@NonNull final ReactiveStore<String, CreditDraft> store,
                     @NonNull final CreditService creditService,
                     @NonNull final CreditDraftMapper creditDraftMapper); @NonNull Observable<Option<List<CreditDraft>>> getAllCreditDrafts(); @NonNull Completable fetchCreditDrafts();  }### Answer:
@Test public void getAllCreditDraftsReturnsStoreObservable() { Observable<Option<List<CreditDraft>>> storeObservable = Observable.empty(); new ArrangeBuilder().withObservableFromStore(storeObservable); assertThat(repository.getAllCreditDrafts()).isEqualTo(storeObservable); }