* Test method for {@link ScriptUtils#writeToStream(javax.faces.context.ResponseWriter, Object)}
*/
public void testWriteToStream() throws Exception {
MockFacesEnvironment environment = MockFacesEnvironment.createEnvironment();
ResponseWriter mockWriter = environment.createMock(ResponseWriter.class);
Capture<? extends Object> capture = new Capture<Object>(CaptureType.ALL) {
/**
*
*/
private static final long serialVersionUID = -4915440411892856583L;