@Test
public void getAssignedTags() throws Exception {

    server.enqueue(new MockResponse().setBody("{\n"
          + "  \"tags\": {\n"
          + "    \"total\": 2,\n"
          + "    \"items\": [\n"
          + "      {\n"
          + "        \"tag\": \"Business opportunities in München/Munich\"\n"
          + "      },\n"
          + "      {\n"
          + "        \"tag\": \"friends\"\n"
          + "      }\n"
          + "    ]\n"
          + "  }\n"
          + '}'));
    Response<List<String>, HttpError> response = resource.getAssignedTags("user_id", "contact_id").execute();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body()).containsExactly("Business opportunities in München/Munich", "friends");
}