SessionStore { public Action0 clear() { return store.clear(); } SessionStore(Context context); Observable<User> get(); Func1<User, User> store(); Action0 clear();  }
@Test public void clearCallsInternal() { when(internalStore.clear()).thenReturn(clearAction); assertThat(store.clear(), equalTo(clearAction)); }