@Test
public void testEntityHomeConfiguration()
{
MockServletContext servletContext = new MockServletContext();
ServletLifecycle.beginApplication(servletContext);
new Initialization( servletContext ).create().init();
Lifecycle.beginCall();
Contexts.getEventContext().set(Seam.getComponentName(Transaction.class), new NoTransaction());
MyEntityHome myEntityHome = (MyEntityHome) Component.getInstance("myEntityHome");
assert myEntityHome != null;
// verify that the reference to new-instance remains unparsed