return (SimpleBean) util.getBean("SimpleBean");
}
public void testConstructorDoesNotExist() throws Throwable
{
XMLUtil util = bootstrapXML(false);
try
{
util.validate();
fail("Should not be valid!");
}
catch (IllegalStateException expected)
{
}
try
{
util.getBean("SimpleBean");
}
catch (KernelRegistryEntryNotFoundException expected)
{
}
}