### Question:
Utils { public static boolean isEquals(final List<?> first, List<?> second) { if (first == null) { return second == null; } if (first.isEmpty()) { return second.isEmpty(); } if ((first != null && second != null) && (first.size() == second.size())) { for (int index = 0; index < first.size(); index++) { if (!Objects.equals(first.get(index), second.get(index))) { return false; } } return true; } return false; } private  Utils(); static final String toIndentedString(final Object object); static boolean isEquals(final List<?> first, List<?> second);  }### Answer:
@Test public void testTwoEmptyLists_equal() { assertTrue(Utils.isEquals(Collections.emptyList(), Collections.emptyList())); }
@Test public void testEmptyListAndNonEmpty_notEqual() { assertFalse(Utils.isEquals(Collections.emptyList(), Arrays.asList("A"))); }
@Test public void testTwoNullLists_equal() { assertTrue(Utils.isEquals(null, null)); }
@Test public void testNullListAndEmptyList_notEqual() { assertFalse(Utils.isEquals(null, Collections.emptyList())); }
@Test public void testTwoNotEmptyListsContainSameObjects_equal() { assertTrue(Utils.isEquals(Arrays.asList("A"), Arrays.asList("A"))); }
@Test public void testTwoNotEmptyListsContainsDifferentObjects_equal() { assertFalse(Utils.isEquals(Arrays.asList("A"), Arrays.asList(1))); }