test_class.declarator: validator
test_class.modifier: private
test_class.original_string: private LocalValidatorFactoryBean validator;
test_class.type: LocalValidatorFactoryBean
test_class.var_name: validator
test_class.file: dataprep-api/src/test/java/org/talend/dataprep/api/service/api/DynamicParamsInputTest.java
test_class.identifier: DynamicParamsInputTest
test_case.body: @Test
      public void noDataSetId() {
          // given parameters without preparation not dataset id
          DynamicParamsInput input = new DynamicParamsInput();
          input.setPreparationId("prep#98435");
  
          // when
          Set<ConstraintViolation<DynamicParamsInput>> constraintViolations = validator.validate(input);
  
          // then 1 violation (column id is empty)
          Assert.assertEquals(1, constraintViolations.size());
      }
test_case.class_method_signature: DynamicParamsInputTest.noDataSetId()
test_case.full_signature: @Test public void noDataSetId()
test_case.identifier: noDataSetId
test_case.invocations: setPreparationId validate assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void noDataSetId()
focal_class.declarator: preparationId
focal_class.modifier: private
focal_class.original_string: private String preparationId;
focal_class.type: String
focal_class.var_name: preparationId
focal_class.declarator: stepId = "head"
focal_class.modifier: private
focal_class.original_string: private String stepId = "head";
focal_class.type: String
focal_class.var_name: stepId
focal_class.declarator: datasetId
focal_class.modifier: private
focal_class.original_string: private String datasetId;
focal_class.type: String
focal_class.var_name: datasetId
focal_class.declarator: columnId
focal_class.modifier: @NotBlank
      private
focal_class.original_string: @NotBlank
      private String columnId;
focal_class.type: String
focal_class.var_name: columnId
focal_class.file: dataprep-api/src/main/java/org/talend/dataprep/api/service/api/DynamicParamsInput.java
focal_class.identifier: DynamicParamsInput
focal_class.class_method_signature: DynamicParamsInput.getPreparationId()
focal_class.full_signature: public String getPreparationId()
focal_class.identifier: getPreparationId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPreparationId()
focal_class.class_method_signature: DynamicParamsInput.setPreparationId(String preparationId)
focal_class.full_signature: public void setPreparationId(String preparationId)
focal_class.identifier: setPreparationId
focal_class.modifiers: public
focal_class.parameters: (String preparationId)
focal_class.return: void
focal_class.signature: void setPreparationId(String preparationId)
focal_class.class_method_signature: DynamicParamsInput.getDatasetId()
focal_class.full_signature: public String getDatasetId()
focal_class.identifier: getDatasetId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDatasetId()
focal_class.class_method_signature: DynamicParamsInput.setDatasetId(String datasetId)
focal_class.full_signature: public void setDatasetId(String datasetId)
focal_class.identifier: setDatasetId
focal_class.modifiers: public
focal_class.parameters: (String datasetId)
focal_class.return: void
focal_class.signature: void setDatasetId(String datasetId)
focal_class.class_method_signature: DynamicParamsInput.getColumnId()
focal_class.full_signature: public String getColumnId()
focal_class.identifier: getColumnId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getColumnId()
focal_class.class_method_signature: DynamicParamsInput.setColumnId(String columnId)
focal_class.full_signature: public void setColumnId(String columnId)
focal_class.identifier: setColumnId
focal_class.modifiers: public
focal_class.parameters: (String columnId)
focal_class.return: void
focal_class.signature: void setColumnId(String columnId)
focal_class.class_method_signature: DynamicParamsInput.getStepId()
focal_class.full_signature: public String getStepId()
focal_class.identifier: getStepId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getStepId()
focal_class.class_method_signature: DynamicParamsInput.setStepId(String stepId)
focal_class.full_signature: public void setStepId(String stepId)
focal_class.identifier: setStepId
focal_class.modifiers: public
focal_class.parameters: (String stepId)
focal_class.return: void
focal_class.signature: void setStepId(String stepId)
focal_method.body: public void setPreparationId(String preparationId) {
          this.preparationId = preparationId;
      }
focal_method.class_method_signature: DynamicParamsInput.setPreparationId(String preparationId)
focal_method.full_signature: public void setPreparationId(String preparationId)
focal_method.identifier: setPreparationId
focal_method.modifiers: public
focal_method.parameters: (String preparationId)
focal_method.return: void
focal_method.signature: void setPreparationId(String preparationId)