public void testEqualizeResultLists()
{
List<List<EObject>> l1 = new ArrayList<List<EObject>>();
List<List<EObject>> l2 = new ArrayList<List<EObject>>();
Concern c1 = URNModelFactory.eINSTANCE.createConcern();
Concern c2 = URNModelFactory.eINSTANCE.createConcern();
c1.setName("Name1");
c2.setName("Name2");
l1.add(new ArrayList<EObject>());
l1.get(0).add(c1);
l2.add(new ArrayList<EObject>());
l2.get(0).add(c1);
l2.get(0).add(c2);
assertEquals(1, l1.get(0).size());
assertEquals(2, l2.get(0).size());
ConditionProcessorHelper.equalizeResultLists(l1, l2);
assertEquals(2, l1.get(0).size());
assertSame(c1.getName(), ((Concern) (l1.get(0).get(0))).getName());
assertSame(c2.getName(), ((Concern) (l1.get(0).get(1))).getName());
}