def METHOD_NAME(app):
    class DummyView(HTTPMethodView, attach=app, uri="/"):
        def get(self, request):
            return text("I am get method")
    request, response = app.test_client.get("/")
    assert response.text == "I am get method"