test_class.declarator: elasticSearchDataSetDef
test_class.modifier: @Mock
test_class.original_string: @Mock
      ElasticSearchDataSetDef elasticSearchDataSetDef;
test_class.type: ElasticSearchDataSetDef
test_class.var_name: elasticSearchDataSetDef
test_class.declarator: tested
test_class.modifier: private
test_class.original_string: private ElasticSearchDataSetDefValidator tested;
test_class.type: ElasticSearchDataSetDefValidator
test_class.var_name: tested
test_class.file: dashbuilder-shared/dashbuilder-validations/src/test/java/org/dashbuilder/validations/dataset/ElasticSearchDataSetDefValidatorTest.java
test_class.identifier: ElasticSearchDataSetDefValidatorTest
test_class.superclass: extends AbstractValidationTest
test_case.body: @Test
      public void testValidate() {
          final boolean isCacheEnabled = true;
          final boolean isPushEnabled = true;
          final boolean isRefreshEnabled = true;
          tested.validate(elasticSearchDataSetDef, isCacheEnabled, isPushEnabled, isRefreshEnabled);
          verify(validator, times(1)).validate(elasticSearchDataSetDef,
                  DataSetDefBasicAttributesGroup.class,
                  DataSetDefProviderTypeGroup.class,
                  DataSetDefCacheRowsValidation.class,
                  DataSetDefPushSizeValidation.class,
                  DataSetDefRefreshIntervalValidation.class,
                  ElasticSearchDataSetDefValidation.class);
      }
test_case.class_method_signature: ElasticSearchDataSetDefValidatorTest.testValidate()
test_case.full_signature: @Test public void testValidate()
test_case.identifier: testValidate
test_case.invocations: validate validate verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidate()
focal_class.file: dashbuilder-shared/dashbuilder-validations/src/main/java/org/dashbuilder/validations/dataset/ElasticSearchDataSetDefValidator.java
focal_class.identifier: ElasticSearchDataSetDefValidator
focal_class.class_method_signature: ElasticSearchDataSetDefValidator.ElasticSearchDataSetDefValidator( Validator validator )
focal_class.full_signature: @Inject public  ElasticSearchDataSetDefValidator( Validator validator )
focal_class.identifier: ElasticSearchDataSetDefValidator
focal_class.modifiers: @Inject public
focal_class.parameters: ( Validator validator )
focal_class.signature:  ElasticSearchDataSetDefValidator( Validator validator )
focal_class.class_method_signature: ElasticSearchDataSetDefValidator.getSupportedProvider()
focal_class.full_signature: @Override public DataSetProviderType getSupportedProvider()
focal_class.identifier: getSupportedProvider
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DataSetProviderType
focal_class.signature: DataSetProviderType getSupportedProvider()
focal_class.class_method_signature: ElasticSearchDataSetDefValidator.validateCustomAttributes( ElasticSearchDataSetDef dataSetDef, Object... params )
focal_class.full_signature: @Override public Iterable<ConstraintViolation<?>> validateCustomAttributes( ElasticSearchDataSetDef dataSetDef, Object... params )
focal_class.identifier: validateCustomAttributes
focal_class.modifiers: @Override public
focal_class.parameters: ( ElasticSearchDataSetDef dataSetDef, Object... params )
focal_class.return: Iterable<ConstraintViolation<?>>
focal_class.signature: Iterable<ConstraintViolation<?>> validateCustomAttributes( ElasticSearchDataSetDef dataSetDef, Object... params )
focal_class.class_method_signature: ElasticSearchDataSetDefValidator.validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_class.full_signature: @Override public Iterable<ConstraintViolation<?>> validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: ( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_class.return: Iterable<ConstraintViolation<?>>
focal_class.signature: Iterable<ConstraintViolation<?>> validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_class.superclass: extends AbstractDataSetDefValidator<ElasticSearchDataSetDef>
focal_method.body: @Override
      public Iterable<ConstraintViolation<?>> validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params ) {
          Set<ConstraintViolation<ElasticSearchDataSetDef>> _violations = validator.validate( dataSetDef,
                                                                                              getValidationGroups(
                                                                                                      isCacheEnabled,
                                                                                                      isPushEnabled,
                                                                                                      isRefreshEnabled,
                                                                                                      ElasticSearchDataSetDefValidation.class ) );
          return toIterable( _violations );
      }
focal_method.class_method_signature: ElasticSearchDataSetDefValidator.validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_method.full_signature: @Override public Iterable<ConstraintViolation<?>> validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_method.identifier: validate
focal_method.invocations: validate getValidationGroups toIterable
focal_method.modifiers: @Override public
focal_method.parameters: ( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )
focal_method.return: Iterable<ConstraintViolation<?>>
focal_method.signature: Iterable<ConstraintViolation<?>> validate( ElasticSearchDataSetDef dataSetDef,
                                                        boolean isCacheEnabled,
                                                        boolean isPushEnabled,
                                                        boolean isRefreshEnabled,
                                                        Object... params )