def METHOD_NAME(self, result_override: ResultOverrideFunction = None, **kwargs: Any):
    BaseGraphQLController = make_graphql_controller(
        schema=schema,
        path="/graphql",
        context_getter=starlite_get_context,
        root_value_getter=get_root_value,
        **kwargs,
    )
    class GraphQLController(BaseGraphQLController):
        graphql_transport_ws_handler_class = DebuggableGraphQLTransportWSHandler
        graphql_ws_handler_class = DebuggableGraphQLWSHandler
        async def process_result(
            self, request: Request, result: ExecutionResult
        ) -> GraphQLHTTPResponse:
            if result_override:
                return result_override(result)
            return await super().process_result(request, result)
    self.app = Starlite(route_handlers=[GraphQLController])
    self.client = TestClient(self.app)