def METHOD_NAME(self):
    tx_settings_widget = self.dialog.device_settings_tx_widget
    simulator = self.dialog.simulator
    bh = BackendContainer("test", {Backends.native}, True, True)
    self.assertTrue(bh.is_enabled)
    tx_settings_widget.backend_handler.device_backends["test"] = bh
    tx_settings_widget.ui.cbDevice.addItem("test")
    tx_settings_widget.ui.cbDevice.setCurrentText("test")
    self.assertEqual(tx_settings_widget.device.name, "test")
    self.assertEqual(tx_settings_widget.device.backend, Backends.native)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxFreq, 300e6)
    self.assertEqual(simulator.sender.device.frequency, 300e6)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxSampleRate, 5e6)
    self.assertEqual(simulator.sender.device.sample_rate, 5e6)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxBandwidth, 3e6)
    self.assertEqual(simulator.sender.device.bandwidth, 3e6)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxGain, 16)
    self.assertEqual(simulator.sender.device.gain, 16)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxIFGain, 13)
    self.assertEqual(simulator.sender.device.if_gain, 13)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxBasebandGain, 10)
    self.assertEqual(simulator.sender.device.baseband_gain, 10)
    self.__edit_spinbox_value(tx_settings_widget.ui.spinBoxFreqCorrection, 33)
    self.assertEqual(simulator.sender.device.freq_correction, 33)
    tx_settings_widget.ui.lineEditIP.setText("1.2.6.2")
    tx_settings_widget.ui.lineEditIP.editingFinished.emit()
    self.assertEqual(simulator.sender.device.ip, "1.2.6.2")