@Test
public void deleteConnectionCallsNetwork() {

    String id = "userId";
    Type type = Type.FOLLOW;
    when(network.deleteConnection(id, type)).thenReturn(Observable.<Void>empty());
    TestSubscriber<Void> ts = new TestSubscriber<>();
    tapglue.deleteConnection(id, type).subscribe(ts);
    ts.assertNoErrors();
    ts.assertCompleted();
}