System.out.println("Reset status to NEW");
cat.debug("Reset status to NEW");
    public void test01CreateNewUser() throws Exception {        cat.debug(">test01CreateNewUser()");        // Make user that we know...        try {            UserData createdata = userhome.create("foo", "foo123", "C=SE, O=AnaTom, CN=foo");            assertNotNull("Failed to create user foo", createdata);            createdata.setType(SecConst.USER_ENDUSER);            createdata.setSubjectEmail("foo@anatom.se");            System.out.println("created user: foo, foo123, C=SE, O=AnaTom, CN=foo");        } catch (DuplicateKeyException dke) {            System.out.println("user foo already exists.");            UserDataPK pk = new UserDataPK();            pk.username = "foo";            UserData data = userhome.findByPrimaryKey(pk);            data.setStatus(UserData.STATUS_NEW);            System.out.println("Reset status to NEW");        }        cat.debug("<test01CreateNewUser()");    }