@Test
public void testHiddenProducerMethods()
{
startContainer(PrivateProducedBean.class, ProtectedProducedBean.class, SampleProducerOwner.class, SomeUserBean.class);
PrivateProducedBean privateProducedBean = getInstance(PrivateProducedBean.class);
Assert.assertNotNull(privateProducedBean);
Assert.assertEquals(42, privateProducedBean.getMeaningOfLife());
ProtectedProducedBean protectedProducedBean = getInstance(ProtectedProducedBean.class);
Assert.assertNotNull(protectedProducedBean);
Assert.assertEquals(42, privateProducedBean.getMeaningOfLife());
}