@Test public void getWriter() { usedValidationTypes.forEach(type -> { assertNotNull(validationWriters.getWriter(type)); }); unusedValidationTypes.forEach(type -> { assertNull(validationWriters.getWriter(type)); }); }
public ValidationWriter getWriter(ValidationType validationType) { return validationWritersMap.get(validationType); }
ValidationWriters implements AutoCloseable { public ValidationWriter getWriter(ValidationType validationType) { return validationWritersMap.get(validationType); } }
ValidationWriters implements AutoCloseable { public ValidationWriter getWriter(ValidationType validationType) { return validationWritersMap.get(validationType); } ValidationWriters(String networkId, Set<ValidationType> validationTypes, Path folder, ValidationConfig config); }
ValidationWriters implements AutoCloseable { public ValidationWriter getWriter(ValidationType validationType) { return validationWritersMap.get(validationType); } ValidationWriters(String networkId, Set<ValidationType> validationTypes, Path folder, ValidationConfig config); ValidationWriter getWriter(ValidationType validationType); @Override void close(); }
ValidationWriters implements AutoCloseable { public ValidationWriter getWriter(ValidationType validationType) { return validationWritersMap.get(validationType); } ValidationWriters(String networkId, Set<ValidationType> validationTypes, Path folder, ValidationConfig config); ValidationWriter getWriter(ValidationType validationType); @Override void close();  }