@Test
public void getSharedContacts() throws Exception {

    server.enqueue(new MockResponse().setBody("{\n"
          + "  \"shared_contacts\": {\n"
          + "    \"total\": 47,\n"
          + "    \"users\": [\n"
          + LIST_OF_USERS
          + "    ]\n"
          + "  }\n"
          + '}'));
    Response<List<XingUser>, HttpError> response = resource.getSharedContacts("contact_id").execute();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body().size()).isEqualTo(5);
}