maps.add(buildMap(DomainGroup.class, 9L));
maps.add(buildMap(Person.class, 1L));
maps.add(buildMap(DomainGroup.class, 1L));
// ModelViews that the mocked mappers will return - numbers describe their order
final ModelView person2 = buildModelView(new PersonModelView(), 3L);
final ModelView group4 = buildModelView(new DomainGroupModelView(), 9L);
final ModelView person5 = buildModelView(new PersonModelView(), 1L);
final ModelView group7 = buildModelView(new DomainGroupModelView(), 1L);
// the list of Group IDs we expect to be sent to the group mapper
final List<Long> expectedGroupIdList = new ArrayList<Long>();
expectedGroupIdList.add(9L);
expectedGroupIdList.add(1L);