TestHelper.cleanInsert("admin/dialplan/seedDialPlanWithAttendant.xml"); Collection objs = m_aliasManager.getBeanIdsOfObjectsWithAlias("1234"); assertTrue(objs.size() == 1);
TestHelper.cleanInsertFlat("alias/AliasSeed.xml"); Collection objs = m_aliasManager.getBeanIdsOfObjectsWithAlias("morcheeba"); assertEquals(1, objs.size());
    public void testGetBeanIdsOfObjectsWithAlias() throws Exception  {        TestHelper.cleanInsert("admin/dialplan/seedDialPlanWithAttendant.xml");        Collection objs = m_aliasManager.getBeanIdsOfObjectsWithAlias("1234");        assertTrue(objs.size() == 1);        BeanId bid = (BeanId) objs.iterator().next();        assertTrue(bid.getBeanClass().equals(AutoAttendant.class));    }