public void testCommentDelete() throws Exception {
//embeddedRegistryService = new InMemoryEmbeddedRegistryService();
// get the realm config to retrieve admin username, password
RealmConfiguration realmConfig = ctx.getRealmService().getBootstrapRealmConfiguration();
UserRegistry adminReg = embeddedRegistryService.getUserRegistry(
realmConfig.getAdminUserName(), realmConfig.getAdminPassword());
UserRealm adminRealm = adminReg.getUserRealm();
adminRealm.getUserStoreManager().addRole("rolex", null, null);
adminRealm.getUserStoreManager()
.addUser("cu1", "cu1111", new String[]{"rolex"}, null, null);