@Test
public void testInitReverseOrderWithoutActiveDecisionTable() throws Exception {

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