def METHOD_NAME(self):
    writer = XMLWriter(BytesIO())
    writer.dumphex(
        "Type is a beautiful group of letters, not a group of beautiful letters."
    )
    self.assertEqual(
        HEADER
        + bytesjoin(
            [
                "54797065 20697320 61206265 61757469",
                "66756c20 67726f75 70206f66 206c6574",
                "74657273 2c206e6f 74206120 67726f75",
                "70206f66 20626561 75746966 756c206c",
                "65747465 72732e  ",
                "",
            ],
            joiner="\n",
        ),
        writer.file.getvalue(),
    )