*/
public void testWhenTagNoPermission()
throws JspException, IOException
{
ChooseTag chooseTag = new ChooseTag();
JspTagLifecycle chooseLifecycle =
new JspTagLifecycle(pageContext, chooseTag);
WhenTag whenTag = new WhenTag();
JspTagLifecycle whenLifecycle =
chooseLifecycle.addNestedTag(whenTag);
whenTag.setTest("false");
whenLifecycle.expectBodySkipped();
OtherwiseTag otherwiseTag = new OtherwiseTag();
JspTagLifecycle otherwiseLifecycle =
chooseLifecycle.addNestedTag(otherwiseTag);
otherwiseLifecycle.expectBodyEvaluated();
chooseLifecycle.invoke();
}