private void createSampleUsers() {
        for (final AppPermission permission : AppPermission.values()) {
            // Create a user that has explicit permission.
            final User user = createUser("user__" + permission.name().toLowerCase(Locale.ROOT));
            appPermissionDao.addPermission(user.getUuid(), permission);

            // Create a group that has explicit permission.
            final User group1 = createGroup("group1__" + permission.name().toLowerCase(Locale.ROOT));
            appPermissionDao.addPermission(group1.getUuid(), permission);

            // Create a user that is a member of the group so inherits permission.
            final User group1user = createUser("group1user__" + permission.name().toLowerCase(Locale.ROOT));
            userDao.addUserToGroup(group1user.getUuid(), group1.getUuid());

            // Create a group that is a member of the group so inherits permission.
            final User group2 = createGroup("group2__" + permission.name().toLowerCase(Locale.ROOT));
            userDao.addUserToGroup(group2.getUuid(), group1.getUuid());

            // Create a user that is a member of group2 so inherits permission.
            final User group2user = createUser("group2user__" + permission.name().toLowerCase(Locale.ROOT));
            userDao.addUserToGroup(group2user.getUuid(), group2.getUuid());
        }
    }
Generates some sample statistics data in two feeds. If the feed doesn't
exist it will fail silently
stroom-app/src/test/java/stroom/test/SetupSampleDataBean.java