### Question:
Roles { public Set<String> getRoles() { return roles; } @JsonCreator  Roles(@JsonProperty("roles") final Set<String> roles); Set<String> getRoles(); @Override String toString(); static final String URI; }### Answer:
@Test public void testDeserialization() throws Exception { final Roles roles = readObjectFromResource("/project/project-roles.json", Roles.class); assertThat(roles, notNullValue()); assertThat(roles.getRoles(), hasSize(2)); assertThat(roles.getRoles(), hasItem("/gdc/projects/PROJECT_ID/roles/ROLE1")); assertThat(roles.getRoles(), hasItem("/gdc/projects/PROJECT_ID/roles/ROLE2")); }