@Test
public void testInitDefaultValue() throws Exception {

    when(event.getEditedDefaultValue()).thenReturn(defaultValue);
    columnConfigRow.init(attributeColumn, presenter);
    verify(view).addDefaultValue(eq(attributeColumn), eq(true), defaultValueCaptor.capture());
    //Simulates that checkbox was clicked
    defaultValueCaptor.getValue().onDefaultValueChanged(event);
    verify(editedAttributeColumn).setDefaultValue(defaultValue);
    verify(decisionTable).updateColumn(attributeColumn, editedAttributeColumn);
}