@Test
public void testGenerateToken1() throws Exception {

    // Act
    final int maxLength = 7;
    final String value1 = sut.generateToken(maxLength);
    final String value2 = sut.generateToken(maxLength);
    // Assert
    assertTrue(StringUtils.hasText(value1));
    assertTrue(StringUtils.hasText(value2));
    assertNotEquals(value1, value2);
    assertTrue(value1.length() <= maxLength);
    assertTrue(value2.length() <= maxLength);
}