### Question:
ArrayUtils { public static String[] objArrayToStringArray(final Object... objArray) { String[] strArray = null; if (objArray != null) { strArray = new String[objArray.length]; for (int i = 0; i < objArray.length; i++) { strArray[i] = objectToString(objArray[i]); } } return strArray; }  static String objectToString(final Object invalidValue); static String[] objArrayToStringArray(final Object... objArray); static boolean checkArraysLength(Object[] first, Object[] second);  }### Answer:
@Test public void objectArrayToStringArray_someObjectArray_returnStrArray() { Object[] objArray = new Object[] {new SomeObj("test_1"), new SomeObj("test_2"), new SomeObj("test_3")}; assertArrayEquals(new String[]{"test_1", "test_2", "test_3"}, objArrayToStringArray(objArray)); }
@Test public void objectArrayToStringArray_null_returnNull() { assertArrayEquals(null, objArrayToStringArray((Object[])null)); }