assertThat(p.getStatus(), is(equalTo(STATUS)));
}
@Test
public void getAddresses_set() {
Person p = new FieldRestrictingPerson(getTestPerson(), getFieldSet(Person.Field.ADDRESSES));
assertThat(p.getAddresses().size(), is(equalTo(2)));
assertThat(p.getAddresses().get(1).getStreetAddress(), is(equalTo(STREET)));
assertThat(p.getAddresses().get(1).getLocality(), is(equalTo(CITY)));
assertThat(p.getAddresses().get(1).getRegion(), is(equalTo(STATE)));
assertThat(p.getAddresses().get(1).getCountry(), is(equalTo(COUNTRY)));
assertThat(p.getAddresses().get(1).getLatitude(), is(equalTo(LATITUDE)));
assertThat(p.getAddresses().get(1).getLongitude(), is(equalTo(LONGITUDE)));
assertThat(p.getAddresses().get(1).getPostalCode(), is(equalTo(POSTAL_CODE)));
assertThat(p.getAddresses().get(1).getType(), is(equalTo(QUALIFIER)));
}