@Test
public void testSetDelegate() {

    final EditorDelegate<List<DataColumnDef>> delegate = mock(EditorDelegate.class);
    presenter.setDelegate(delegate);
    verify(listEditor, times(1)).setDelegate(delegate);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}