assertEquals("String", bean.getConstructorUsed());
}
public void testConstructorTwoParam() throws Throwable
{
JoinpointFactory jpf = getJointpointFactory(SimpleBean.class);
Object object = Config.instantiate(jpf, new String[] { String.class.getName(), Object.class.getName() }, new Object[] { "StringObject", new Object() });
assertNotNull(object);
assertTrue(object instanceof SimpleBean);
SimpleBean bean = (SimpleBean) object;
assertEquals("StringObject", bean.getConstructorUsed());