EntityManagerProducer { @Produces @RequestScoped public EntityManager create() { TimeZone.setDefault(TimeZone.getTimeZone(UTC)); return entityManagerFactory.createEntityManager(); }  @Produces @RequestScoped EntityManager create(); void close(@Disposes final EntityManager em);  }
@Test public void shouldProduceEntityManger() { EntityManager em = entityManagerProducer.create(); assertThat(em, equalTo(entityManager)); }