hunk.code_window:                     assertThat(page.getLayouts()).isNotEmpty();
                       assertThat(page.getLayouts().get(0).getDsl()).isEqualTo(parsedJson);
                       assertThat(page.getLayouts().get(0).getWidgetNames()).isNotEmpty();
                       assertTrue(page.getOrder() == 0);
                   })
                   .verifyComplete();
       }
       @Test
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                     assertThat(page.getOrder()).isEqualTo(0);
  
hunk.file_path: app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
hunk.type: replace
file: import * as Factory from "factory.ts";
  import { generateReactKey } from "utils/generators";
  import { WidgetProps } from "widgets/BaseWidget";
  
  export const CheckboxFactory = Factory.Sync.makeFactory<WidgetProps>({
    isVisible: true,
    label: "Label",
    defaultCheckedState: true,
    type: "CHECKBOX_WIDGET",
    isLoading: false,
    parentColumnSpace: 71.75,
    parentRowSpace: 38,
    leftColumn: 10,
    rightColumn: 13,
    topRow: 4,
    bottomRow: 5,
    parentId: "e3tq9qwta6",
    dynamicBindingPathList: [],
    widgetName: Factory.each((i) => `Checkbox${i + 1}`),
    widgetId: generateReactKey(),
    renderMode: "CANVAS",
    version: 1,
  });
  