@Test public void capabilityOfShrinkingNonEnum() { assertFalse(generator.canShrink(new Object())); }
@Override public boolean canShrink(Object larger) { return enumType.isInstance(larger); }
EnumGenerator extends Generator<Enum> { @Override public boolean canShrink(Object larger) { return enumType.isInstance(larger); } }
EnumGenerator extends Generator<Enum> { @Override public boolean canShrink(Object larger) { return enumType.isInstance(larger); } EnumGenerator(Class<?> enumType); }
EnumGenerator extends Generator<Enum> { @Override public boolean canShrink(Object larger) { return enumType.isInstance(larger); } EnumGenerator(Class<?> enumType); @Override Enum<?> generate(
        SourceOfRandomness random,
        GenerationStatus status); @Override boolean canShrink(Object larger); }
EnumGenerator extends Generator<Enum> { @Override public boolean canShrink(Object larger) { return enumType.isInstance(larger); } EnumGenerator(Class<?> enumType); @Override Enum<?> generate(
        SourceOfRandomness random,
        GenerationStatus status); @Override boolean canShrink(Object larger);  }