@Test
public void testInitHideColumnWithoutActiveDecisionTable() throws Exception {

    when(hideColumnCheckBox.getValue()).thenReturn(true);
    when(presenter.getActiveDecisionTable()).thenReturn(Optional.empty());
    columnConfigRow.init(attributeColumn,
                         presenter);
    verify(view).addHideColumnCheckBox(eq(attributeColumn),
                                       clickCaptor.capture());
    //Simulates that checkbox was clicked
    clickCaptor.getValue().onClick(null);
    verify(decisionTable,
           never()).updateColumn(any(AttributeCol52.class),
                                 any(AttributeCol52.class));
}