@Test
public void testSetUpdate() {

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