doPrompt(text, expected, true);
}
void doPrompt(String text, String expected, boolean success)
{
System.out.println("doPrompt....." + text);
PromptFlow flow = new PromptFlow(text);
SRInstance run = renderBodyOnly(flow);
SRError err = new SRError();
run.failed(err);
System.out.println("WWWWWWWWW" + err);
assertEquals("err", !success, run.failed(new SRError()));