def METHOD_NAME(self):
    font = ImageFont.load_default()
    td = TextDraw("Hello\nWorld", font, placement="cc")
    img = Image.new("RGB", (100, 100))
    draw = ImageDraw.Draw(img)
    total_box, boxes = td.text_boxes(draw, (100, 100))
    assert total_box == (35, 38, 65, 63)
    assert boxes == [(35, 38, 65, 49), (35, 52, 65, 63)]