### Question:
CodeGenerator { @Nonnull public static String generateUid() { return generateCode( CODESIZE ); } private  CodeGenerator(); @Nonnull static String generateUid(); static final String letters; static final String ALLOWED_CHARS; static final int NUMBER_OF_CODEPOINTS; static final int CODESIZE; }### Answer:
@Test public void generateUidLength() { final String uid = CodeGenerator.generateUid(); Assert.assertEquals( 11, uid.length() ); }
@Test public void generateUid() { final String uid1 = CodeGenerator.generateUid(); final String uid2 = CodeGenerator.generateUid(); Assert.assertNotEquals( uid1, uid2 ); }