@Test public void noPreparationId() { DynamicParamsInput input = new DynamicParamsInput(); input.setDatasetId("dataset#19843"); Set<ConstraintViolation<DynamicParamsInput>> constraintViolations = validator.validate(input); Assert.assertEquals(1, constraintViolations.size()); }
public void setDatasetId(String datasetId) { this.datasetId = datasetId; }
DynamicParamsInput { public void setDatasetId(String datasetId) { this.datasetId = datasetId; } }
DynamicParamsInput { public void setDatasetId(String datasetId) { this.datasetId = datasetId; }  }
DynamicParamsInput { public void setDatasetId(String datasetId) { this.datasetId = datasetId; }  String getPreparationId(); void setPreparationId(String preparationId); String getDatasetId(); void setDatasetId(String datasetId); String getColumnId(); void setColumnId(String columnId); String getStepId(); void setStepId(String stepId); }
DynamicParamsInput { public void setDatasetId(String datasetId) { this.datasetId = datasetId; }  String getPreparationId(); void setPreparationId(String preparationId); String getDatasetId(); void setDatasetId(String datasetId); String getColumnId(); void setColumnId(String columnId); String getStepId(); void setStepId(String stepId);  }