return (SimplerBean) instantiate(controller, bmd);
}
public void testCustomMapPreInstantiated2() throws Throwable
{
SimplerBean bean = customMapPreInstantiated();
assertNotNull(bean);
Map<?,?> result = bean.getPreInstantiatedMap();
assertNotNull("Should be a map", result);
assertTrue("Not a CustomMap: " + result.getClass(), result instanceof CustomMap);
assertTrue("Not preinstantiated", ((CustomMap) result).getPreInstantiated());
Map<Object, Object> expected = new HashMap<Object, Object>();