@Test public void removeComments_should_call_JavaScriptCommentRemover_removeComments() { String sourceCode = "" + "var a = "1 / 2; "var c = \" \\\" String sourceWithoutComments = cut.removeComments(sourceCode); assertThat(sourceWithoutComments).isEqualTo("" + "var a = \n" + "1 / 2; \r\n" + "var b = 3;\n" + "var c = \" \\\" }
String removeComments(String sourceCode) { return new JavaScriptCommentRemover().removeComments(sourceCode); }
PostmanScenarioIndexerService { String removeComments(String sourceCode) { return new JavaScriptCommentRemover().removeComments(sourceCode); } }
PostmanScenarioIndexerService { String removeComments(String sourceCode) { return new JavaScriptCommentRemover().removeComments(sourceCode); }  }
PostmanScenarioIndexerService { String removeComments(String sourceCode) { return new JavaScriptCommentRemover().removeComments(sourceCode); }  List<Scenario> extractScenarios(Source source, File zipFile); }
PostmanScenarioIndexerService { String removeComments(String sourceCode) { return new JavaScriptCommentRemover().removeComments(sourceCode); }  List<Scenario> extractScenarios(Source source, File zipFile);  }