@Test public void create() { List<ResponseDiffValidator> validators = validatorFactory.create(); assertThat(validators).hasSize(3); }
@Override public List<ResponseDiffValidator> create() { List<ResponseDiffValidator> validators = new ArrayList<>(); validators.add(new ResponseContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ResponseHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new ResponseAddNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); }
DefaultResponseDiffValidatorFactory implements ResponseDiffValidatorFactory { @Override public List<ResponseDiffValidator> create() { List<ResponseDiffValidator> validators = new ArrayList<>(); validators.add(new ResponseContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ResponseHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new ResponseAddNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } }
DefaultResponseDiffValidatorFactory implements ResponseDiffValidatorFactory { @Override public List<ResponseDiffValidator> create() { List<ResponseDiffValidator> validators = new ArrayList<>(); validators.add(new ResponseContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ResponseHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new ResponseAddNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultResponseDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      HeaderDiffValidatorFactory headerDiffValidatorFactory); }
DefaultResponseDiffValidatorFactory implements ResponseDiffValidatorFactory { @Override public List<ResponseDiffValidator> create() { List<ResponseDiffValidator> validators = new ArrayList<>(); validators.add(new ResponseContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ResponseHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new ResponseAddNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultResponseDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      HeaderDiffValidatorFactory headerDiffValidatorFactory); @Override List<ResponseDiffValidator> create(); }
DefaultResponseDiffValidatorFactory implements ResponseDiffValidatorFactory { @Override public List<ResponseDiffValidator> create() { List<ResponseDiffValidator> validators = new ArrayList<>(); validators.add(new ResponseContentDiffValidator(mediaTypeDiffValidatorFactory.create())); validators.add(new ResponseHeadersDiffValidator(headerDiffValidatorFactory.create())); validators.add(new ResponseAddNotAllowedDiffValidator()); return Collections.unmodifiableList(validators); } DefaultResponseDiffValidatorFactory(
      MediaTypeDiffValidatorFactory mediaTypeDiffValidatorFactory,
      HeaderDiffValidatorFactory headerDiffValidatorFactory); @Override List<ResponseDiffValidator> create();  }