c.getStringToEntityMap().put("a", a);
c.getStringToEntityMap().put("c", c);
c.setEntityToStringMap(null);
c.setStringToEntityListMap(null);
TestdataEntityCollectionPropertySolution original = new TestdataEntityCollectionPropertySolution("solution");
List<TestdataValue> valueList = Arrays.asList(val1, val2, val3);
original.setValueList(valueList);
List<TestdataEntityCollectionPropertyEntity> originalEntityList = Arrays.asList(a, b, c);
original.setEntityList(originalEntityList);
TestdataEntityCollectionPropertySolution clone = cloner.cloneSolution(original);
assertNotSame(original, clone);
assertCode("solution", clone);
assertSame(valueList, clone.getValueList());
List<TestdataEntityCollectionPropertyEntity> cloneEntityList = clone.getEntityList();
assertNotSame(originalEntityList, cloneEntityList);
assertEquals(3, cloneEntityList.size());
TestdataEntityCollectionPropertyEntity cloneA = cloneEntityList.get(0);
TestdataEntityCollectionPropertyEntity cloneB = cloneEntityList.get(1);
TestdataEntityCollectionPropertyEntity cloneC = cloneEntityList.get(2);