@Test
public void testValidateNoRefresh() {

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