@Test
public void logoutClearsUserStoreOnSuccess() {

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