@Test public void create() { FactoryOptions options = new FactoryOptions(emptyMap()); List<InfoValidator> validators = validatorFactory.create(options); assertThat(validators).hasSize(0); }
@Override public List<InfoValidator> create(FactoryOptions options) { List<InfoValidator> validators = new ArrayList<>(); addInfoDescriptionRequiredValidator(validators, options); return Collections.unmodifiableList(validators); }
DefaultInfoValidatorFactory implements InfoValidatorFactory { @Override public List<InfoValidator> create(FactoryOptions options) { List<InfoValidator> validators = new ArrayList<>(); addInfoDescriptionRequiredValidator(validators, options); return Collections.unmodifiableList(validators); } }
DefaultInfoValidatorFactory implements InfoValidatorFactory { @Override public List<InfoValidator> create(FactoryOptions options) { List<InfoValidator> validators = new ArrayList<>(); addInfoDescriptionRequiredValidator(validators, options); return Collections.unmodifiableList(validators); }  }
DefaultInfoValidatorFactory implements InfoValidatorFactory { @Override public List<InfoValidator> create(FactoryOptions options) { List<InfoValidator> validators = new ArrayList<>(); addInfoDescriptionRequiredValidator(validators, options); return Collections.unmodifiableList(validators); }  @Override List<InfoValidator> create(FactoryOptions options); }
DefaultInfoValidatorFactory implements InfoValidatorFactory { @Override public List<InfoValidator> create(FactoryOptions options) { List<InfoValidator> validators = new ArrayList<>(); addInfoDescriptionRequiredValidator(validators, options); return Collections.unmodifiableList(validators); }  @Override List<InfoValidator> create(FactoryOptions options);  }