private List<NamedObjectModel> getNamedObjectModeList(String type) {
type = "-" + type;
List<NamedObjectModel> namedObjectModelList = new ArrayList<NamedObjectModel>();
for( int i = 0; i < 2; ++i ) {
NamedObjectModel nom = new NamedObjectModel();
nom.setIdentifier( "id-" + i + type);
nom.setName("name-"+i + type);
String [] params = { UUID.randomUUID().toString(), UUID.randomUUID().toString() };
List<Object> paramList = new ArrayList<Object>();
paramList.addAll(Arrays.asList(params));
nom.setParameters(paramList);
nom.setResolver(i + "-resolver" + type);
namedObjectModelList.add(nom);
}
return namedObjectModelList;
}