SourceDSL { public static BooleansDSL booleans() { return new BooleansDSL(); }  static LongsDSL longs(); static IntegersDSL integers(); static DoublesDSL doubles(); static FloatsDSL floats(); static CharactersDSL characters(); static StringsDSL strings(); static ListsDSL lists(); static MapsDSL maps(); static ArraysDSL arrays(); static BigIntegersDSL bigIntegers(); static BigDecimalsDSL bigDecimals(); static ArbitraryDSL arbitrary(); static DatesDSL dates(); static LocalDatesDSL localDates(); static BooleansDSL booleans();  }
@Test public void shouldGenerateBooleansAsExpected() { Gen<Boolean> testee = booleans().all(); assertThatGenerator(testee).generatesAllOf(true, false); }