def METHOD_NAME(context):
    bounding_boxes = []
    def draw(_box, _context, bounding_box):
        bounding_boxes.append(bounding_box)
    box = Box(
        Box(style={"min-height": 80}, draw=draw),
        Box(draw=draw),
        style={"vertical-align": VerticalAlign.TOP},
    )
    box.size(context=context)
    box.draw(context=context, bounding_box=Rectangle(0, 0, 100, 120))
    assert bounding_boxes[0].height == 80
    assert bounding_boxes[1].height == 40