@Test public void create() { List<EncodingDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(7); }
@Override public List<EncodingDiffValidator> create() { List<EncodingDiffValidator> validators = new ArrayList<>(); validators.add(new EncodingHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new EncodingAddNotAllowedDiffValidator()); validators.add(new EncodingDelNotAllowedDiffValidator()); validators.add(new EncodingAllowedReservedChangeDiffValidator()); validators.add(new EncodingContentTypeNotSameDiffValidator()); validators.add(new EncodingExplodeNotSameDiffValidator()); validators.add(new EncodingStyleNotSameDiffValidator()); return Collections.unmodifiableList(validators); }
DefaultEncodingDiffValidatorFactory implements EncodingDiffValidatorFactory { @Override public List<EncodingDiffValidator> create() { List<EncodingDiffValidator> validators = new ArrayList<>(); validators.add(new EncodingHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new EncodingAddNotAllowedDiffValidator()); validators.add(new EncodingDelNotAllowedDiffValidator()); validators.add(new EncodingAllowedReservedChangeDiffValidator()); validators.add(new EncodingContentTypeNotSameDiffValidator()); validators.add(new EncodingExplodeNotSameDiffValidator()); validators.add(new EncodingStyleNotSameDiffValidator()); return Collections.unmodifiableList(validators); } }
DefaultEncodingDiffValidatorFactory implements EncodingDiffValidatorFactory { @Override public List<EncodingDiffValidator> create() { List<EncodingDiffValidator> validators = new ArrayList<>(); validators.add(new EncodingHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new EncodingAddNotAllowedDiffValidator()); validators.add(new EncodingDelNotAllowedDiffValidator()); validators.add(new EncodingAllowedReservedChangeDiffValidator()); validators.add(new EncodingContentTypeNotSameDiffValidator()); validators.add(new EncodingExplodeNotSameDiffValidator()); validators.add(new EncodingStyleNotSameDiffValidator()); return Collections.unmodifiableList(validators); } DefaultEncodingDiffValidatorFactory(
      HeaderDiffValidatorFactory headerDiffValidatorFactory); }
DefaultEncodingDiffValidatorFactory implements EncodingDiffValidatorFactory { @Override public List<EncodingDiffValidator> create() { List<EncodingDiffValidator> validators = new ArrayList<>(); validators.add(new EncodingHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new EncodingAddNotAllowedDiffValidator()); validators.add(new EncodingDelNotAllowedDiffValidator()); validators.add(new EncodingAllowedReservedChangeDiffValidator()); validators.add(new EncodingContentTypeNotSameDiffValidator()); validators.add(new EncodingExplodeNotSameDiffValidator()); validators.add(new EncodingStyleNotSameDiffValidator()); return Collections.unmodifiableList(validators); } DefaultEncodingDiffValidatorFactory(
      HeaderDiffValidatorFactory headerDiffValidatorFactory); @Override List<EncodingDiffValidator> create(); }
DefaultEncodingDiffValidatorFactory implements EncodingDiffValidatorFactory { @Override public List<EncodingDiffValidator> create() { List<EncodingDiffValidator> validators = new ArrayList<>(); validators.add(new EncodingHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new EncodingAddNotAllowedDiffValidator()); validators.add(new EncodingDelNotAllowedDiffValidator()); validators.add(new EncodingAllowedReservedChangeDiffValidator()); validators.add(new EncodingContentTypeNotSameDiffValidator()); validators.add(new EncodingExplodeNotSameDiffValidator()); validators.add(new EncodingStyleNotSameDiffValidator()); return Collections.unmodifiableList(validators); } DefaultEncodingDiffValidatorFactory(
      HeaderDiffValidatorFactory headerDiffValidatorFactory); @Override List<EncodingDiffValidator> create();  }