*/
public void testExtension() throws Exception {
setUpScript("testUseBeanTag.jelly");
Script script = getJelly().compileScript();
getJellyContext().setVariable("test.extension",Boolean.TRUE);
script.run(getJellyContext(),getXMLOutput());
assertNotNull(getJellyContext().getVariable("foo"));
assertTrue(getJellyContext().getVariable("foo") instanceof Customer);
Customer customer = (Customer)(getJellyContext().getVariable("foo"));
assertNull("name set wrongly", customer.getName());
assertEquals("city not set", "sydney", customer.getCity());