Foo foo = new Foo();
foo.setTitle("\"something,\",\"");
stack.push(foo);
MockJspWriter jspWriter = new MockJspWriter();
jspWriter.setExpectedData("\"Foo is: \"\"something,\"\",\"\"\"");
MockPageContext pageContext = new MockPageContext();
pageContext.setJspWriter(jspWriter);
pageContext.setRequest(request);
// test
{PropertyTag tag = new PropertyTag();
tag.setEscape(false);
tag.setEscapeCsv(true);
tag.setPageContext(pageContext);
tag.setValue("%{toString()}");
tag.doStartTag();
tag.doEndTag();}
// verify test
request.verify();
jspWriter.verify();
pageContext.verify();
}