@Test
public void createSocialConnectionsCallsNetwork() {

    SocialConnections connections = mock(SocialConnections.class);
    when(network.createSocialConnections(connections)).thenReturn(Observable.just(users));
    TestSubscriber<List<User>> ts = new TestSubscriber();
    tapglue.createSocialConnections(connections).subscribe(ts);
    assertThat(ts.getOnNextEvents(), hasItems(users));
}