### Question:
SahiScript { String normalizeNewLinesForOSes(String s) { return s.replace("\r\n", "\n").replace("\r", "\n"); } SahiScript(String filePath, ArrayList<String> parents, String scriptName); String jsString(); String modifiedScript(); String getDebugInfo(int lineNumber); String getLineDebugInfo(int lineNumber); static boolean lineStartsWithActionKeyword(String line); static String modifySingleLine(String line); static String modifyFunctionNames(String unmodified); static String stripSahiFromFunctionNames(String unmodified); static ArrayList<String> getActionKeyWords(); static ArrayList<String> getKeyWords(); String modifyCondition(String s, int lineNumber); String getScriptName(); String getOriginal(); String getOriginalInHTML(); String getFilePath(); String getBrowserJS(); void addIncludeInfo(SahiScript included); String getBrowserJSWithLineNumbers();  }### Answer:
@Test public void testNormalizeNewLinesForOSes() throws Exception { assertEquals("a\nb\nc", testScript.normalizeNewLinesForOSes("a\r\nb\r\nc")); assertEquals("a\nb\nc", testScript.normalizeNewLinesForOSes("a\nb\nc")); assertEquals("a\nb\nc", testScript.normalizeNewLinesForOSes("a\rb\rc")); assertEquals("a\nb\n\nc", testScript.normalizeNewLinesForOSes("a\nb\n\nc")); assertEquals("a\nb\n\nc", testScript.normalizeNewLinesForOSes("a\rb\r\rc")); assertEquals("a\nb\n\nc", testScript.normalizeNewLinesForOSes("a\r\nb\r\n\r\nc")); }