def METHOD_NAME(self, mock_workspace_operation: WorkspaceOperations, mocker: MockFixture) -> None:
    mocker.patch("azure.ai.ml.operations._workspace_operations_base.delete_resource_by_arm_id", return_value=None)
    mock_workspace_operation.begin_delete("randstr", delete_dependent_resources=True)
    mock_workspace_operation._operation.begin_delete.assert_called_once()