def METHOD_NAME(self, method):
    response = pretend.stub()
    @pretend.call_recorder
    def view(context, request):
        return response
    info = pretend.stub(options={})
    wrapped_view = csrf.require_method_view(view, info)
    context = pretend.stub()
    request = pretend.stub(method=method)
    assert wrapped_view(context, request) is response
    assert view.calls == [pretend.call(context, request)]