### Question:
RandomTextDataGenerator { RandomTextDataGenerator(int size, int wordSize) { this(size, DEFAULT_SEED , wordSize); } RandomTextDataGenerator(int size, int wordSize);   RandomTextDataGenerator(int size, Long seed, int wordSize);   }### Answer:
@Test public void testRandomTextDataGenerator() { RandomTextDataGenerator rtdg = new RandomTextDataGenerator(10, 0L, 5); List<String> words = rtdg.getRandomWords(); assertEquals("List size mismatch", 10, words.size()); Set<String> wordsSet = new HashSet<String>(words); assertEquals("List size mismatch due to duplicates", 10, wordsSet.size()); for (String word : wordsSet) { assertEquals("Word size mismatch", 5, word.length()); } }