@Test
public void testGenerateColumnWhenColumnIsNotNewAndVetoed() throws Exception {

    doReturn(false).when(plugin).isNewColumn();
    doThrow(VetoUpdatePatternInUseException.class).when(presenter).updateColumn(any(BRLConditionColumn.class),
                                                                                any(BRLConditionColumn.class));
    assertFalse(plugin.generateColumn());
    verify(wizard).showPatternInUseError();
}