}
@Test
public void testCollectionsPojo() {
CollectionsPojo pojo = factory.manufacturePojo(CollectionsPojo.class);
Assert.assertNotNull("The POJO cannot be null!", pojo);
List<String> strList = pojo.getStrList();
validateReturnedList(strList);
ArrayList<String> arrayListStr = pojo.getArrayListStr();
validateReturnedList(arrayListStr);
List<String> copyOnWriteList = pojo.getCopyOnWriteList();
validateReturnedList(copyOnWriteList);
HashSet<String> hashSetStr = pojo.getHashSetStr();
validateReturnedSet(hashSetStr);
List<String> listStrCollection = new ArrayList<String>(
pojo.getStrCollection());
validateReturnedList(listStrCollection);
Set<String> setStrCollection = new HashSet<String>(
pojo.getStrCollection());
validateReturnedSet(setStrCollection);
Set<String> strSet = pojo.getStrSet();
validateReturnedSet(strSet);
Map<String, OneDimensionalTestPojo> map = pojo.getMap();
validateHashMap(map);
HashMap<String, OneDimensionalTestPojo> hashMap = pojo.getHashMap();
validateHashMap(hashMap);
ConcurrentMap<String, OneDimensionalTestPojo> concurrentHashMap = pojo
.getConcurrentHashMap();
validateConcurrentHashMap(concurrentHashMap);
ConcurrentHashMap<String, OneDimensionalTestPojo> concurrentHashMapImpl = pojo
.getConcurrentHashMapImpl();
validateConcurrentHashMap(concurrentHashMapImpl);
Queue<SimplePojoToTestSetters> queue = pojo.getQueue();
Assert.assertNotNull("The queue cannot be null!", queue);
Assert.assertTrue("The queue must be an instance of LinkedList",
queue instanceof LinkedList);
SimplePojoToTestSetters pojoQueueElement = queue.poll();
Assert.assertNotNull("The queue element cannot be null!",
pojoQueueElement);
@SuppressWarnings("rawtypes")
List nonGenerifiedList = pojo.getNonGenerifiedList();
Assert.assertNotNull("The non generified list cannot be null!",
nonGenerifiedList);
Assert.assertFalse("The non-generified list cannot be empty!",
nonGenerifiedList.isEmpty());
Map nonGenerifiedMap = pojo.getNonGenerifiedMap();
Assert.assertNotNull("The non generified map cannot be null!",
nonGenerifiedMap);
Assert.assertFalse("The non generified Map cannot be empty!",
nonGenerifiedMap.isEmpty());
Object object = nonGenerifiedMap.get(nonGenerifiedMap.keySet()