def METHOD_NAME(udp_server: UdpServer, stats_format: str, expected: str) -> None:
    client = StatsClient({"port": udp_server.port, "format": stats_format, "tags": {"foo": "bar", "baz": "tog"}})
    client.gauge("something", 123)
    assert udp_server.get_message() == expected