def METHOD_NAME(app):
    results = []
    def stupid_decorator(view):
        def decorator(*args, **kwargs):
            results.append(1)
            return view(*args, **kwargs)
        return decorator
    class DummyView(HTTPMethodView):
        decorators = [stupid_decorator]
        def get(self, request):
            return text("I am get method")
    app.add_route(DummyView.as_view(), "/")
    request, response = app.test_client.get("/")
    assert response.text == "I am get method"
    assert results[0] == 1