@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();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body()).containsExactly("3582_f213af", "385526_b94012", "391722_0ab373");
}