def METHOD_NAME(self, settings_obj):
    settings_obj.set("control_port_port", 999)
    assert settings_obj._settings["control_port_port"] == 999
    settings_obj.set("control_port_port", "NON_INTEGER")
    assert settings_obj._settings["control_port_port"] == 9051