@Test
public void testValidateUsingFileUrl() {

    presenter._setDataSetDef( dataSetDef );
    presenter.driver = driver;
    presenter.editor = csvEditor;
    when( csvEditor.isUsingFilePath() ).thenReturn( false );
    presenter.validate( true, true, true );
    verify( csvDataSetDefValidator, times( 1 ) ).validate( dataSetDef, true, true, true, false );
    verify( csvDataSetDefValidator, times( 0 ) ).validateCustomAttributes( dataSetDef, false );
}