def METHOD_NAME(self):
    handler = Mock()
    self.dlg.setting_changed.connect(handler)
    self.dialog_controls[("Box", "Items", "P1")][0].setCurrentText("Foo")
    handler.assert_called_with(('Box', 'Items', 'P1'), "Foo")
    self.dialog_controls[("Box", "Items", "P2")][0].setValue(7)
    handler.assert_called_with(('Box', 'Items', 'P2'), 7)
    self.dialog_controls[("Box", "Items", "P3")][0].setChecked(False)
    handler.assert_called_with(('Box', 'Items', 'P3'), False)
    self.dialog_controls[("Box", "Items", "P4")][0].setText("Foo Baz")
    handler.assert_called_with(('Box', 'Items', 'P4'), "Foo Baz")
    self.dialog_controls[("Box", "Items", "P5")][0].setCurrentIndex(1)
    handler.assert_called_with(('Box', 'Items', 'P5'), ".Bar")