assertTrue(DaoUtils.checkDuplicates(m_hibernate, user, "userName", null));
assertTrue(DaoUtils.checkDuplicates(m_hibernate, User.class, user, "userName", null));
    public void testCheckDuplicates() throws Exception {        TestHelper.cleanInsertFlat("common/UserSearchSeed.xml");        User user = new User();        user.setUserName("userseed1");        assertTrue(DaoUtils.checkDuplicates(m_hibernate, user, "userName", null));        user = new User();        user.setUserName("wont find this guy");        assertFalse(DaoUtils.checkDuplicates(m_hibernate, user, "userName", null));    }    