source: class TestCollectionUtils {
  
      private Object item1;
      private Object item2;
      private Object equalItem1;
      private Object equalItem2;
      private Object unequalItem1;
      private Object unequalItem2;
  
      @Test
      public void testAllEqual() {
  
target:         Collection coll1 = Arrays.asList(item1, item2);
          Collection coll2 = Arrays.asList(equalItem1, equalItem2);
          assertTrue("Comparing equal collections should be return true",
                     CollectionUtils.compareCollectionContents(coll1, coll2));
  
          Collection coll3 = Arrays.asList(item1, item2);
          Collection coll4 = Arrays.asList(equalItem1, equalItem2);
          assertTrue("Comparing equal but differently ordered collections should be return true",
                     CollectionUtils.compareCollectionContents(coll3, coll4));
  
          List<Object> coll5 = new ArrayList<>();
          coll5.add(item1);
          coll5.add(item2);
          Set<Object> coll6 = new HashSet<>();
          coll6.add(equalItem1);
          coll6.add(equalItem2);
          assertTrue("Comparing differently typed collections with same elements should be return true",
                     CollectionUtils.compareCollectionContents(coll5, coll6));
      }
  
  }