@Test
public void deleteCurrentUserDoesntClearsUserStoreOnError() {

    when(currentUser.clear()).thenReturn(clearAction);
    when(network.deleteCurrentUser()).thenReturn(Observable.<Void>error(e));
    TestSubscriber<Void> ts = new TestSubscriber<>();
    tapglue.deleteCurrentUser().subscribe(ts);
    verify(clearAction, never()).call();
}