@Test
public void testInitUseRowNumberCheckBox() throws Exception {

    when(useRowNumberCheckBox.getValue()).thenReturn(true);
    columnConfigRow.init(attributeColumn, presenter);
    verify(view).addUseRowNumberCheckBox(eq(attributeColumn), eq(true), clickCaptor.capture());
    //Simulates that checkbox was clicked
    clickCaptor.getValue().onClick(null);
    verify(editedAttributeColumn).setUseRowNumber(true);
    verify(reverseOrderCheckBox).setEnabled(true);
    verify(decisionTable).updateColumn(attributeColumn, editedAttributeColumn);
}