1 4 package com.tc.test.collections; 5 6 9 public class UnorderedUncountedCollectionComparerTest extends UnorderedCollectionComparerTest { 10 11 public void setUp() throws Exception { 12 super.setUp(); 13 this.comparer = new UnorderedUncountedCollectionComparer(this.equalityComparator, this.describer); 14 } 15 16 public void testChecksCounts() throws Exception { 17 MyObj one = new MyObj("a"); 18 MyObj two = new MyObj("b"); 19 20 checkMismatches(NO_MISMATCHES, this.comparer.getMismatches(new Object [] { one, one, two, new MyObj("c") }, 21 new Object [] { two, two, one, new MyObj("c") })); 22 } 23 24 } | Popular Tags |