@Test public void create() { List<RequestBodyDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(2); }
@Override public List<RequestBodyDiffValidator> create() { List<RequestBodyDiffValidator> validators = new ArrayList<>(); validators.add(new RequestBodyContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new RequestBodyRequiredChangeDiffValidator()); return Collections.unmodifiableList(validators); }
DefaultRequestBodyDiffValidatorFactory implements RequestBodyDiffValidatorFactory { @Override public List<RequestBodyDiffValidator> create() { List<RequestBodyDiffValidator> validators = new ArrayList<>(); validators.add(new RequestBodyContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new RequestBodyRequiredChangeDiffValidator()); return Collections.unmodifiableList(validators); } }
DefaultRequestBodyDiffValidatorFactory implements RequestBodyDiffValidatorFactory { @Override public List<RequestBodyDiffValidator> create() { List<RequestBodyDiffValidator> validators = new ArrayList<>(); validators.add(new RequestBodyContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new RequestBodyRequiredChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultRequestBodyDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory); }
DefaultRequestBodyDiffValidatorFactory implements RequestBodyDiffValidatorFactory { @Override public List<RequestBodyDiffValidator> create() { List<RequestBodyDiffValidator> validators = new ArrayList<>(); validators.add(new RequestBodyContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new RequestBodyRequiredChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultRequestBodyDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory); @Override List<RequestBodyDiffValidator> create(); }
DefaultRequestBodyDiffValidatorFactory implements RequestBodyDiffValidatorFactory { @Override public List<RequestBodyDiffValidator> create() { List<RequestBodyDiffValidator> validators = new ArrayList<>(); validators.add(new RequestBodyContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new RequestBodyRequiredChangeDiffValidator()); return Collections.unmodifiableList(validators); } DefaultRequestBodyDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory); @Override List<RequestBodyDiffValidator> create();  }