def METHOD_NAME():
    """Test that the `configure_layout()` gets called as part of the loop and can return new layouts."""
    flow = DynamicContentComponent()
    app = LightningApp(flow)
    MultiProcessRuntime(app).dispatch()
    assert flow.configure_layout_called == 5