def METHOD_NAME(tctx):
    assert (
        Playbook(dns.DNSLayer(tctx))
        >> DataReceived(tctx.client, b"Not a DNS packet")
        << Log(
            "Client(client:1234, state=open) sent an invalid message: question #0: unpack encountered a label of length 99"
        )
        << CloseConnection(tctx.client)
        >> ConnectionClosed(tctx.client)
    )