@Test
public void testRandom() {

    for (int length = 1; length < 10; length++) {
        String value = RandomStringUtils.random(length);
        //LOGGER.debug( "random alphanumeric string: " + value );

        Assert.assertEquals(
                "random string has a length of " + length,
                length, value.length());

        Assert.assertTrue(
                "random string is alphanumeric",
                isAsciiAlphanumeric(value));
    }
}