### Question:
ArrayUtils { public static boolean checkArraysLength(Object[] first, Object[] second) { int lengthOfFirstArray = first != null ? first.length : 0; int lengthOfSecondArray = second != null ? second.length : 0; return lengthOfFirstArray == lengthOfSecondArray; }  static String objectToString(final Object invalidValue); static String[] objArrayToStringArray(final Object... objArray); static boolean checkArraysLength(Object[] first, Object[] second);  }### Answer:
@Test public void checkArraysLength_arraysAreNull_returnTrue() { assertTrue(checkArraysLength(null, null)); }
@Test public void checkArraysLength_firstNull_returnFalse() { assertFalse(checkArraysLength(null, new String[] {"second"})); }
@Test public void checkArraysLength_secondNull_returnFalse() { assertFalse(checkArraysLength(new String[] {"first"}, null)); }
@Test public void checkArraysLength_DiffLength_returnFalse() { Object[] first = new String[]{"one", "two"}; Object[] second = new String[]{"one"}; assertFalse(checkArraysLength(first, second)); }
@Test public void checkArraysLength_SameLength_returnTrue() { Object[] first = new String[]{"one", "two"}; Object[] second = new String[]{"one", "two"}; assertTrue(checkArraysLength(first, second)); }