@Test
public void testSingleParamCtInjection() throws Exception
{
startContainer(BeanWithSingleParamInjectConstructor.class, User.class);
BeanWithSingleParamInjectConstructor instance = getInstance(BeanWithSingleParamInjectConstructor.class);
Assert.assertNotNull(instance);
Assert.assertNotNull(instance.getUser());
User user = getInstance(User.class);
Assert.assertNotNull(user);
Assert.assertTrue(user.getSelf() == instance.getUser().getSelf());
}