async def METHOD_NAME(self, method, *, view):
    request = Mock(name="request", autospec=Request)
    request.method = method
    request.match_info = {}
    handler = AsyncMock(name=method)
    view.methods[method.lower()] = handler
    assert await view(request) is handler.return_value
    handler.assert_called_once_with(request)