def METHOD_NAME() -> None:
    @get("/")
    def handler() -> dict:
        return {"hello": "world"}
    config = AllowedHostsConfig(allowed_hosts=["*.example.com", "moishe.zuchmir.com"])
    with create_test_client(handler, allowed_hosts=config) as client:
        client.base_url = "http://x.example.com"  # type: ignore
        response = client.get("/")
        assert response.status_code == HTTP_200_OK
        client.base_url = "http://x.y.example.com"  # type: ignore
        response = client.get("/")
        assert response.status_code == HTTP_200_OK
        client.base_url = "http://moishe.zuchmir.com"  # type: ignore
        response = client.get("/")
        assert response.status_code == HTTP_200_OK
        client.base_url = "http://x.moishe.zuchmir.com"  # type: ignore
        response = client.get("/")
        assert response.status_code == HTTP_400_BAD_REQUEST
        client.base_url = "http://x.example.x.com"  # type: ignore
        response = client.get("/")
        assert response.status_code == HTTP_400_BAD_REQUEST