async def METHOD_NAME(
    self,
    url: str,
    method: Literal["get", "post", "patch", "put", "delete"],
    headers: Optional[Dict[str, str]] = None,
) -> Response:
    async with TestClient(TestServer(self.app)) as client:
        response = await getattr(client, method)(url, headers=headers)
        return Response(
            status_code=response.status,
            data=(await response.text()).encode(),
            headers=response.headers,
        )