@Test
public void testSetInsertLogical() {

    final ActionWrapper actionWrapper = mock(ActionWrapper.class);
    final boolean insertLogical = false;
    doReturn(actionWrapper).when(plugin).editingWrapper();
    plugin.setInsertLogical(insertLogical);
    verify(actionWrapper).setInsertLogical(insertLogical);
}