@Test
public void testFlushDriverRefreshEnabled() throws Exception {

    presenter.editor = editor;
    when( refreshEditor.isRefreshEnabled() ).thenReturn( true );
    presenter.afterFlush();
    verify( dataSetDef, times( 0 ) ).setRefreshTime( null );
}