@Test
public void testValidateUsingFileUrl() {

    final boolean isCacheEnabled = true;
    final boolean isPushEnabled = true;
    final boolean isRefreshEnabled = true;
    final boolean isUsingFilePath = false;
    tested.validate(csvDataSetDef, isCacheEnabled, isPushEnabled, isRefreshEnabled, isUsingFilePath);
    verify(validator, times(1)).validate(csvDataSetDef,
            DataSetDefBasicAttributesGroup.class,
            DataSetDefProviderTypeGroup.class,
            DataSetDefCacheRowsValidation.class,
            DataSetDefPushSizeValidation.class,
            DataSetDefRefreshIntervalValidation.class,
            CSVDataSetDefValidation.class,
            CSVDataSetDefFileURLValidation.class);
}