@Test public void create() { List<MediaTypeDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(6); }
@Override public List<MediaTypeDiffValidator> create() { List<MediaTypeDiffValidator> validators = new ArrayList<>(); validators.add(new MediaTypeEncodingDiffValidator(encodingDiffValidatorFactory.create())); validators.add(new MediaTypeSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new MediaTypeAddInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInRequestBodyNotAllowedDiffValidator()); validators.add(new MediaTypeDelInResponseNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); }
DefaultMediaTypeDiffValidatorFactory implements MediaTypeDiffValidatorFactory { @Override public List<MediaTypeDiffValidator> create() { List<MediaTypeDiffValidator> validators = new ArrayList<>(); validators.add(new MediaTypeEncodingDiffValidator(encodingDiffValidatorFactory.create())); validators.add(new MediaTypeSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new MediaTypeAddInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInRequestBodyNotAllowedDiffValidator()); validators.add(new MediaTypeDelInResponseNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } }
DefaultMediaTypeDiffValidatorFactory implements MediaTypeDiffValidatorFactory { @Override public List<MediaTypeDiffValidator> create() { List<MediaTypeDiffValidator> validators = new ArrayList<>(); validators.add(new MediaTypeEncodingDiffValidator(encodingDiffValidatorFactory.create())); validators.add(new MediaTypeSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new MediaTypeAddInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInRequestBodyNotAllowedDiffValidator()); validators.add(new MediaTypeDelInResponseNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultMediaTypeDiffValidatorFactory(
      EncodingDiffValidatorFactory encodingDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); }
DefaultMediaTypeDiffValidatorFactory implements MediaTypeDiffValidatorFactory { @Override public List<MediaTypeDiffValidator> create() { List<MediaTypeDiffValidator> validators = new ArrayList<>(); validators.add(new MediaTypeEncodingDiffValidator(encodingDiffValidatorFactory.create())); validators.add(new MediaTypeSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new MediaTypeAddInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInRequestBodyNotAllowedDiffValidator()); validators.add(new MediaTypeDelInResponseNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultMediaTypeDiffValidatorFactory(
      EncodingDiffValidatorFactory encodingDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); @Override List<MediaTypeDiffValidator> create(); }
DefaultMediaTypeDiffValidatorFactory implements MediaTypeDiffValidatorFactory { @Override public List<MediaTypeDiffValidator> create() { List<MediaTypeDiffValidator> validators = new ArrayList<>(); validators.add(new MediaTypeEncodingDiffValidator(encodingDiffValidatorFactory.create())); validators.add(new MediaTypeSchemaDiffValidator(schemaDiffValidatorFactory.create())); validators.add(new MediaTypeAddInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInParameterNotAllowedDiffValidator()); validators.add(new MediaTypeDelInRequestBodyNotAllowedDiffValidator()); validators.add(new MediaTypeDelInResponseNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultMediaTypeDiffValidatorFactory(
      EncodingDiffValidatorFactory encodingDiffValidatorFactory,
      SchemaDiffValidatorFactory schemaDiffValidatorFactory); @Override List<MediaTypeDiffValidator> create();  }