@Test
public void deleteCurrentUserClearsSession() {

    when(service.deleteCurrentUser()).thenReturn(Observable.<Void>empty());
    TestSubscriber<Void> ts = new TestSubscriber<>();
    network.deleteCurrentUser().subscribe(ts);
    verify(clearAction).call();
}