### Question:
RandomUtils { public static final char[] generateRandomChars(final int length) { if (length <= 0) { throw new IllegalArgumentException("length must be > 0"); } if ((length % 2) != 0) { throw new IllegalArgumentException("length must be even"); } return RandomStringUtils.randomAlphanumeric(length).toCharArray(); }  static final byte[] generateRandomBytesOfLength(final int length); static final char[] generateRandomChars(final int length);  }### Answer:
@Test public void testGenerateRandomCharsOfLength() { int len = 256; char[] actual = RandomUtils.generateRandomChars(len); Assert.assertNotNull(actual); Assert.assertEquals(len, actual.length); }