def METHOD_NAME(self):
    crc_label = ChecksumLabel("crc_label", 25, 120, 0, FieldType("crc", FieldType.Function.CHECKSUM))
    crc_widget_controller = ChecksumWidget(crc_label, Message([0] * 150, 0, MessageType("test")), 0)
    crc = GenericCRC(polynomial=list(GenericCRC.DEFAULT_POLYNOMIALS.keys())[0])
    self.assertEqual(crc_widget_controller.ui.lineEditCRCPolynomial.text(), crc.polynomial_as_hex_str)
    self.assertEqual(crc_widget_controller.ui.lineEditStartValue.text(), util.bit2hex(crc.start_value))
    self.assertEqual(crc_widget_controller.ui.lineEditFinalXOR.text(), util.bit2hex(crc.final_xor))
    crc_widget_controller.ui.comboBoxCRCFunction.setCurrentIndex(2)
    crc.polynomial = crc.choose_polynomial(2)
    self.assertEqual(crc_widget_controller.ui.lineEditCRCPolynomial.text(), crc.polynomial_as_hex_str)
    crc_widget_controller.ui.lineEditCRCPolynomial.setText("abcde")
    crc_widget_controller.ui.lineEditCRCPolynomial.editingFinished.emit()
    self.assertEqual(crc_label.checksum.polynomial, array.array("B", [1]) + util.hex2bit("abcde"))
    crc_widget_controller.ui.lineEditStartValue.setText("12345")
    crc_widget_controller.ui.lineEditStartValue.editingFinished.emit()
    self.assertEqual(util.bit2hex(crc_label.checksum.start_value), "12345")
    crc_widget_controller.ui.lineEditFinalXOR.setText("cccaa")
    crc_widget_controller.ui.lineEditFinalXOR.editingFinished.emit()
    self.assertEqual(util.bit2hex(crc_label.checksum.final_xor), "cccaa")