@Before
 public void setUp() {
   cfg = new HashMap<String, Object>(TestHelper.getDefaultTestSettings());
   cfg.put(OgmProperties.DATABASE, "snafu");
   cfg.put(OgmProperties.USERNAME, "foo");
   cfg.put(OgmProperties.PASSWORD, "bar");
   cfg.put("hibernate.ogm.mongodb.driver.serverSelectionTimeout", "1000");
 }
 @Before
 public void setUp() {
   emf = Persistence.createEntityManagerFactory("ogm", TestHelper.getDefaultTestSettings());
   em = emf.createEntityManager();
 }