}
@Test
public void getGuestIds() {
List<GuestId> guestIds = new LinkedList<GuestId>();
guestIds.add(new GuestId("1"));
guestIds.add(new GuestId("2"));
when(guestIdCurator.listByConsumer(eq(consumer), any(PageRequest.class)))
.thenReturn(buildPaginatedGuestIdList(guestIds));
List<GuestId> result = guestIdResource.getGuestIds(consumer.getUuid(), null);
assertEquals(2, result.size());
assertTrue(result.contains(new GuestId("1")));
assertTrue(result.contains(new GuestId("2")));
}