def METHOD_NAME(self):
    config = {
        "use_wandb": True,
        "wandb_entity": "test_entity",
        "wandb_project": "test_project",
        "experiment_id": "test",
        "model": "LinearRegression",
        "train_file": "train.csv",
        "test_file": "test.csv",
    }
    config_object = Configuration(config)
    mock_wandb_run = Mock()
    with patch(
        "rsmtool.utils.wandb.wandb.init", return_value=mock_wandb_run
    ) as mock_wandb_init:
        init_wandb_run(config)
        log_configuration_to_wandb(mock_wandb_run, config_object, "test")
    mock_wandb_init.assert_called_with(project="test_project", entity="test_entity")
    mock_wandb_run.config.update.assert_called_with({"test": config_object.to_dict()})