UserStore { public Observable<User> get() { return store.get(); } UserStore(Context context); Func1<User, User> store(); Observable<User> get(); Action0 clear(); boolean isEmpty();  }
@Test public void getUserCallsInternalStore() { when(internalStore.get()).thenReturn(getObservable); assertThat(store.get(), equalTo(getObservable)); }