Assert.assertEquals( "ListName3", ((Reference)model.getListReferences().get( 2 )).getName() );
Set set = model.getSetReferences();
List names = new ArrayList( set.size() );
for ( Iterator i = set.iterator(); i.hasNext(); )
{
Reference ref = (Reference) i.next();
names.add( ((Reference)ref).getName() );
}
Collections.sort( names );
Assert.assertEquals( Arrays.asList( new String[] { "SetName1", "SetName2" } ), names );
Assert.assertEquals( Arrays.asList( new String[] { "S1", "S2", "S3", "S4", "S5" } ), model.getStringReferences() );