ComparisonUtil { public static boolean isNullOrEmptyAwareEqual(final String targetOne, final String targetTwo) { final boolean checkResult; if (targetOne == null || targetOne.isEmpty()) { checkResult = targetTwo == null || targetTwo.isEmpty(); } else { checkResult = targetOne.equals(targetTwo); } return checkResult; }  static boolean isNullAwareEqual(final Object targetOne, final Object targetTwo); static boolean isNullOrEmptyAwareEqual(final String targetOne, final String targetTwo); static boolean isNullOrEmptyAwareEqual(final List<?> targetOne, final List<?> targetTwo); static int compareNullAware(final T targetOne, final T targetTwo);  }
@Test public void testIsNullOrEmptyAwareEqual_6() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(Arrays.asList(""), null)); }
@Test public void testIsNullOrEmptyAwareEqual_7() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(Collections.emptyList(), Arrays.asList(""))); }
@Test public void testIsNullOrEmptyAwareEqual_8() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(Arrays.asList(""), Collections.emptyList())); }
@Test public void testIsNullOrEmptyAwareEqual_9() { final String instance = "ab"; Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(Arrays.asList(instance), Arrays.asList(new String(instance)))); }
@Test public void testIsNullOrEmptyAwareEqual_10() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(Arrays.asList("ab"), Arrays.asList("cd"))); }
@Test public void testIsNullOrEmptyAwareEqualString_1() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual((String) null, null)); }
@Test public void testIsNullOrEmptyAwareEqualString_2() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(null, "")); }
@Test public void testIsNullOrEmptyAwareEqualString_3() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual("", null)); }
@Test public void testIsNullOrEmptyAwareEqualString_4() { final String emptyString = ""; Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(emptyString, new String(emptyString))); }
@Test public void testIsNullOrEmptyAwareEqualString_5() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(null, "a")); }
@Test public void testIsNullOrEmptyAwareEqualString_6() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual("b", null)); }
@Test public void testIsNullOrEmptyAwareEqualString_7() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual("", "c")); }
@Test public void testIsNullOrEmptyAwareEqualString_8() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual("d", "")); }
@Test public void testIsNullOrEmptyAwareEqualString_9() { final String instance = "ab"; Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(instance, new String(instance))); }
@Test public void testIsNullOrEmptyAwareEqualString_10() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual("ab", "cd")); }
@Test public void testIsNullOrEmptyAwareEqual_1() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual((List<?>) null, null)); }
@Test public void testIsNullOrEmptyAwareEqual_2() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(null, Collections.emptyList())); }
@Test public void testIsNullOrEmptyAwareEqual_3() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(new ArrayList<String>(1), null)); }
@Test public void testIsNullOrEmptyAwareEqual_4() { Assert.assertTrue(ComparisonUtil.isNullOrEmptyAwareEqual(Collections.emptyList(), new ArrayList<String>(2))); }
@Test public void testIsNullOrEmptyAwareEqual_5() { Assert.assertFalse(ComparisonUtil.isNullOrEmptyAwareEqual(null, Arrays.asList(""))); }