@Test
public void testLength() {

  final Object[][] testParameters = new Object[][] {{new String[] {}, 0},
      {new String[] {"h", "e", "l", "l", "o"}, 5}, {new String[] {null}, 1}};
  for (final Object[] testParameter : testParameters) {
    int expected = (Integer) testParameter[1];
    String[] arrays = (String[]) testParameter[0];
    assertEquals(expected, ArrayUtils.length(arrays));
  }
}