dao = helper.getProxyComponentReturningInjected(BankAccountDao.class, dao,
BankAccount.class, account_injection);
yan.registerComponent("dao", dao);
yan.registerValue(new Integer(10));
yan.registerValue(new char[]{'a','b'});
BankAccountDao mdao = (BankAccountDao)yan.getInstance("dao");
assertEquals(mdao, mdao);
MyBean mbean = mdao.getMyBean(1);
assertEquals("apple", mbean.getName());
BankAccount account = mdao.getAccount("a");
assertEquals('a', account.getChar(0));
assertEquals('b', account.getChar(1));
assertEquals("apple", account.getId());
assertEquals(10, account.getBalance());
}