hunk.code_window:                         }
                           if(pageId1.equals(page.getId())){
                               assertTrue(page.getOrder() == 2);
                           }
                       }
                   } )
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit:                             assertThat(page.getOrder()).isEqualTo(2);
  
hunk.file_path: app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
hunk.type: replace
file: import transformCurlImport from "transformers/CurlImportTransformer";
  
  describe("CurlImportTransformer", () => {
    it("has quotes in start and end and escapes special characters", () => {
      const inputs = [
        `curl -X GET`,
        `"curl -X GET`,
        `curl -X GET"`,
        `curl google.com\n`,
      ];
      const outputs = [
        `"curl -X GET"`,
        `"\\"curl -X GET"`,
        `"curl -X GET\\""`,
        `"curl google.com\\n"`,
      ];
      inputs.forEach((input, index) => {
        const result = transformCurlImport(input);
        expect(result).toBe(outputs[index]);
      });
    });
  });
  