### Question:
JspWriterImpl extends JspWriter { public void newLine() throws IOException { write(lineSeparator); } JspWriterImpl(Writer out); final void clear(); void clearBuffer(); void flush(); void close(); int getRemaining(); void write(int c); void write(char cbuf[], int off, int len); void write(char buf[]); void write(String s, int off, int len); void write(String s); void newLine(); void print(boolean b); void print(char c); void print(int i); void print(long l); void print(float f); void print(double d); void print(char s[]); void print(String s); void print(Object obj); void println(); void println(boolean x); void println(char x); void println(int x); void println(long x); void println(float x); void println(double x); void println(char x[]); void println(String x); void println(Object x);  }### Answer:
@Test public void testNewLine() throws IOException { writer.write(JspWriterImpl.lineSeparator, 0, JspWriterImpl.lineSeparator.length()); replay(writer); jspWriter = new JspWriterImpl(writer); jspWriter.newLine(); verify(writer); }