def METHOD_NAME(config: BaseConfig, mocker: MockerFixture):
    config.settings["version"] = "42"
    mock = mocker.patch.object(config, "set_key")
    provider = CommitizenProvider(config)
    assert provider.get_version() == "42"
    provider.set_version("43.1")
    mock.assert_called_once_with("version", "43.1")