@Test
public void testValidateNoPush() {

    final boolean isCacheEnabled = true;
    final boolean isPushEnabled = false;
    final boolean isRefreshEnabled = true;
    tested.validate(elasticSearchDataSetDef, isCacheEnabled, isPushEnabled, isRefreshEnabled);
    verify(validator, times(1)).validate(elasticSearchDataSetDef,
            DataSetDefBasicAttributesGroup.class,
            DataSetDefProviderTypeGroup.class,
            DataSetDefCacheRowsValidation.class,
            DataSetDefRefreshIntervalValidation.class,
            ElasticSearchDataSetDefValidation.class);
}