def METHOD_NAME(self):
    self.dialog.ui.doubleSpinBoxCarrierFreq.setValue(1e9)
    self.dialog.ui.doubleSpinBoxCarrierFreq.editingFinished.emit()
    self.assertEqual(self.dialog.current_modulator.carrier_freq_hz, 1e9)
    self.dialog.ui.doubleSpinBoxCarrierPhase.setValue(100)
    self.dialog.ui.doubleSpinBoxCarrierPhase.editingFinished.emit()
    self.assertEqual(self.dialog.current_modulator.carrier_phase_deg, 100)