@Test void generatedValueMustNotBeNull() { assertThat(randomizer.getRandomValue()).isNotNull(); }
@Override public String getRandomValue() { int length = (int) nextDouble(minLength, maxLength); char[] chars = new char[length]; for (int i = 0; i < length; i++) { chars[i] = characterRandomizer.getRandomValue(); } return new String(chars); }
StringRandomizer extends AbstractRandomizer<String> { @Override public String getRandomValue() { int length = (int) nextDouble(minLength, maxLength); char[] chars = new char[length]; for (int i = 0; i < length; i++) { chars[i] = characterRandomizer.getRandomValue(); } return new String(chars); } }
StringRandomizer extends AbstractRandomizer<String> { @Override public String getRandomValue() { int length = (int) nextDouble(minLength, maxLength); char[] chars = new char[length]; for (int i = 0; i < length; i++) { chars[i] = characterRandomizer.getRandomValue(); } return new String(chars); } StringRandomizer();  StringRandomizer(final Charset charset);  StringRandomizer(int maxLength);  StringRandomizer(long seed);  StringRandomizer(final Charset charset, final long seed);  StringRandomizer(final int maxLength, final long seed);  StringRandomizer(final int minLength, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int minLength, final int maxLength, final long seed); }
StringRandomizer extends AbstractRandomizer<String> { @Override public String getRandomValue() { int length = (int) nextDouble(minLength, maxLength); char[] chars = new char[length]; for (int i = 0; i < length; i++) { chars[i] = characterRandomizer.getRandomValue(); } return new String(chars); } StringRandomizer();  StringRandomizer(final Charset charset);  StringRandomizer(int maxLength);  StringRandomizer(long seed);  StringRandomizer(final Charset charset, final long seed);  StringRandomizer(final int maxLength, final long seed);  StringRandomizer(final int minLength, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int minLength, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(); static StringRandomizer aNewStringRandomizer(final Charset charset); static StringRandomizer aNewStringRandomizer(final int maxLength); static StringRandomizer aNewStringRandomizer(final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final long seed); static StringRandomizer aNewStringRandomizer(final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final int minLength, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final int minLength, final int maxLength, final long seed); @Override String getRandomValue(); }
StringRandomizer extends AbstractRandomizer<String> { @Override public String getRandomValue() { int length = (int) nextDouble(minLength, maxLength); char[] chars = new char[length]; for (int i = 0; i < length; i++) { chars[i] = characterRandomizer.getRandomValue(); } return new String(chars); } StringRandomizer();  StringRandomizer(final Charset charset);  StringRandomizer(int maxLength);  StringRandomizer(long seed);  StringRandomizer(final Charset charset, final long seed);  StringRandomizer(final int maxLength, final long seed);  StringRandomizer(final int minLength, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int maxLength, final long seed);  StringRandomizer(final Charset charset, final int minLength, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(); static StringRandomizer aNewStringRandomizer(final Charset charset); static StringRandomizer aNewStringRandomizer(final int maxLength); static StringRandomizer aNewStringRandomizer(final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final long seed); static StringRandomizer aNewStringRandomizer(final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final int minLength, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final int maxLength, final long seed); static StringRandomizer aNewStringRandomizer(final Charset charset, final int minLength, final int maxLength, final long seed); @Override String getRandomValue();  }