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