def METHOD_NAME(
    self, pyramid_request, CanvasService, canvas_api_client, course_copy_plugin
):
    result = factory(sentinel.context, request=pyramid_request)
    assert result == CanvasService.return_value
    CanvasService.assert_called_once_with(
        canvas_api=canvas_api_client, course_copy_plugin=course_copy_plugin
    )