@Test
public void testEditIsNotInvokedTwiceAfterCancel() {

    navTreeEditor.edit(NAV_TREE);
    // When edit is cancelled avoid the parent's editor to invoke edit again
    reset(navItemEditor);
    navItemEditor.startEdition();
    navItemEditor.cancelEdition();
    verify(navItemEditor, times(1)).edit(any());
}