public void testAssertScopedVariableExposedWithIllegalScope()
{
try
{
JspTagLifecycle lifecycle =
new JspTagLifecycle(pageContext, new OutTag());
lifecycle.expectScopedVariableExposed(
"name", new Object[]{"value"}, 0);
fail("Expected IllegalArgumentException");
}
catch (IllegalArgumentException expected)