def METHOD_NAME(self, mock_compute_operation: ComputeOperations, mocker: MockFixture) -> None:
    mocker.patch("azure.ai.ml._restclient.v2022_10_01_preview.workspaces.get", return_value=funny())
    compute = load_compute("./tests/test_configs/compute/compute-aml.yaml")
    mock_compute_operation.begin_create_or_update(compute=compute)
    mock_compute_operation._operation.begin_create_or_update.assert_called_once()