@Test
public void retrieveUserFollowignsReturnsUsersFromService() {

    String id = "userId";
    when(usersFeed.getUsers()).thenReturn(users);
    when(service.retrieveUserFollowings(id)).thenReturn(Observable.just(usersFeed));
    TestSubscriber<RxPage<List<User>>> ts = new TestSubscriber<>();
    network.retrieveUserFollowings(id).subscribe(ts);
    List<User> result = ts.getOnNextEvents().get(0).getData();
    assertThat(result, equalTo(users));
}