@Test
public void testContextNoPersistenceContextProvider_110() {
sut.contextUnavailable(null);
Element e = getTestElement("context", root_110);
BeanMetadata bean =
(BeanMetadata) sut.decorate(e, new BeanMetadataImpl(), parserCtx);
BeanMetadata innerBean = (BeanMetadata) ((BeanProperty) bean.getProperties().get(0)).getValue();
assertEquals("createEntityManager", innerBean.getFactoryMethod());
assertEquals("internalClose", innerBean.getDestroyMethod());
assertEquals(1, registeredComponents.size());
ReferenceMetadata reference = (ReferenceMetadata) registeredComponents.get(0);
assertEquals(EntityManagerFactory.class.getName(), reference.getInterface());