EJBLocalHome home = new TestLocalHome(db);
EJBLocalHome home = new DummyLocalHome(db);
    public void testGenerateMultipleConsecutiveIDs() throws Exception {        HashMap db = new HashMap();        EJBLocalHome home = new TestLocalHome(db);        for (int i = 0; i < IT; i++) {            Integer id = SimpleSequenceGenerator.getNextCount( home );            db.put(id, "dummy"); // simulate a database with stored ids        }        // check that it is really not duplicate ids        assertEquals(IT, db.size());    }