### Question:
MinijaxPersistenceProvider implements javax.persistence.spi.PersistenceProvider { @Override @SuppressWarnings({ "rawtypes", "unchecked" }) public MinijaxEntityManagerFactory createEntityManagerFactory(final String emName, final Map map) { final MinijaxPersistenceUnitInfo unit = persistenceFile.getPersistenceUnit(emName); if (unit == null) { throw new PersistenceException("Persistence unit not found (\"" + emName + "\")"); } return new MinijaxEntityManagerFactory(unit, map); } MinijaxPersistenceProvider(); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxEntityManagerFactory createEntityManagerFactory(final String emName, final Map map); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxEntityManagerFactory createContainerEntityManagerFactory(final PersistenceUnitInfo info, final Map map); @Override @SuppressWarnings("rawtypes") void generateSchema(final PersistenceUnitInfo info, final Map map); @Override @SuppressWarnings("rawtypes") boolean generateSchema(final String persistenceUnitName, final Map map); @Override ProviderUtil getProviderUtil();  }### Answer:
@Test public void testCreateEntityManagerFactory() { final MinijaxPersistenceProvider provider = new MinijaxPersistenceProvider(); provider.createEntityManagerFactory("testdb", new HashMap<>()); }