### Question:
VelocityBodyContent extends BodyContent { @Override public void clearBuffer() throws IOException { getEnclosingWriter().clearBuffer(); } VelocityBodyContent(JspWriter jspWriter, ASTBlock block,
            InternalContextAdapter context); @Override Reader getReader(); @Override String getString(); @Override void writeOut(Writer out); @Override void newLine(); @Override void print(boolean b); @Override void print(char c); @Override void print(int i); @Override void print(long l); @Override void print(float f); @Override void print(double d); @Override void print(char[] s); @Override void print(String s); @Override void print(Object obj); @Override void println(); @Override void println(boolean x); @Override void println(char x); @Override void println(int x); @Override void println(long x); @Override void println(float x); @Override void println(double x); @Override void println(char[] x); @Override void println(String x); @Override void println(Object x); @Override void clear(); @Override void clearBuffer(); @Override void close(); @Override int getRemaining(); @Override void write(char[] cbuf, int off, int len);  }### Answer:
@Test public void testClearBuffer() throws IOException { jspWriter.clearBuffer(); replay(jspWriter, block, context); content.clearBuffer(); verify(jspWriter, block, context); }