def METHOD_NAME(caplog: "LogCaptureFixture") -> None:
    @post(path="/")
    def post_handler(data: JSONRequest) -> JSONRequest:
        return data
    with caplog.at_level(logging.INFO):
        client = create_test_client(
            route_handlers=[post_handler], middleware=[MiddlewareProtocolRequestLoggingMiddleware]
        )
        response = client.post("/", json={"name": "moishe zuchmir", "age": 40, "programmer": True})
        assert response.status_code == 201
        assert "test logging" in caplog.text