### Question:
ContactsResource extends Resource { public CallSpec<List<String>, HttpError> getOwnContactsIds() { return Resource.<List<String>, HttpError>newGetSpec(api, "/v1/users/me/contact_ids") .responseAs(list(String.class, "contact_ids", "items")) .build(); } ContactsResource(XingApi api); CallSpec<List<XingUser>, HttpError> getUserContacts(String userId); CallSpec<List<XingUser>, HttpError> getOwnContacts(); CallSpec<List<String>, HttpError> getOwnContactsIds(); CallSpec<List<String>, HttpError> getAssignedTags(String userId, String contactId); CallSpec<List<String>, HttpError> getOwnAssignedTags(String contactId); CallSpec<List<XingUser>, HttpError> getSharedContacts(String userId); @Experimental CallSpec<List<XingUser>, HttpError> getUpcomingBirthdays(); CallSpec<List<ContactRequest>, HttpError> getIncomingContactRequests(); CallSpec<List<PendingContactRequest>, HttpError> getPendingContactRequests(); CallSpec<Void, HttpError> sendContactRequest(String userId); CallSpec<Void, HttpError> acceptContactRequest(String recipientId, String senderId); CallSpec<Void, HttpError> revokeContactRequest(String recipientId, String senderId); CallSpec<ContactPaths, HttpError> getContactPaths(String userId, String otherUserId); CallSpec<InvitationStats, HttpError> inviteByMail(String... emails);  }### Answer:
@Test public void getOwnContactsIds() throws Exception { server.enqueue(new MockResponse().setBody("{\n" + " \"contact_ids\": {\n" + " \"items\": [\n" + " \"3582_f213af\",\n" + " \"385526_b94012\",\n" + " \"391722_0ab373\"\n" + " ]\n" + " }\n" + '}')); Response<List<String>, HttpError> response = resource.getOwnContactsIds().execute(); assertThat(response.body()).containsExactly("3582_f213af", "385526_b94012", "391722_0ab373"); }