@Test public void testCompareMaps_NullSecondMap() throws Exception { Map map = new HashMap(); assertTrue( COMPARATOR_HELPER.testComparatorResult( Constants.Comparator.PRIORITY_SECOND, entity.compareMaps(map, null))); }
@Test public void testCompareMaps_NullFirstMap() throws Exception { Map map = new HashMap(); assertTrue( COMPARATOR_HELPER.testComparatorResult( Constants.Comparator.PRIORITY_FIRST, entity.compareMaps(null, map))); }
@Test public void testCompare_NullSecondCollection() throws Exception { Collection collection = new ArrayList(); assertTrue( COMPARATOR_HELPER.testComparatorResult( Constants.Comparator.PRIORITY_SECOND, entity.compare(collection, null))); }
@Test public void testCompare_NullFirstCollection() throws Exception { Collection collection = new ArrayList(); assertTrue( COMPARATOR_HELPER.testComparatorResult( Constants.Comparator.PRIORITY_FIRST, entity.compare(null, collection))); }
@Test public void testCompareMaps_NullBothMaps() throws Exception { assertTrue( COMPARATOR_HELPER.testComparatorResult( Constants.Comparator.EQUALS, entity.compareMaps(null, null))); }