def METHOD_NAME(self):
    writer = XMLWriter(BytesIO())
    writer.write("two lines\r\nseparated by Windows line endings")
    self.assertEqual(
        HEADER + b"two lines&#13;\nseparated by Windows line endings",
        writer.file.getvalue(),
    )