@Test
public void getOwnContacts() throws Exception {

    server.enqueue(new MockResponse().setBody(BODY_LIST_OF_CONTACTS));
    Response<List<XingUser>, HttpError> response = resource.getOwnContacts().execute();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body().size()).isEqualTo(5);
}