### Question:
DefaultPathItemValidatorFactory implements PathItemValidatorFactory { @Override public List<PathItemValidator> create(FactoryOptions options) { ArrayList<PathItemValidator> validators = new ArrayList<>(); validators.add(new PathItemOperationsValidator(operationValidatorFactory.create(options))); validators.add(new PathItemParametersValidator(parameterValidatorFactory.create(options))); return Collections.unmodifiableList(validators); } DefaultPathItemValidatorFactory(
      OperationValidatorFactory operationValidatorFactory,
      ParameterValidatorFactory parameterValidatorFactory); @Override List<PathItemValidator> create(FactoryOptions options);  }### Answer:
@Test public void create() { FactoryOptions options = new FactoryOptions(emptyMap()); List<PathItemValidator> validators = validatorFactory.create(options); assertThat(validators).hasSize(2); assertThat(validators).hasOnlyElementsOfTypes( PathItemOperationsValidator.class, PathItemParametersValidator.class ); }