@Test
public void testTransform() throws Throwable {

        userRegexPatterns.add("s/\\s/_/g");
        groupRegexPatterns.add("s/\\s/_/g");
        userNameRegEx.populateReplacementPatterns(userNameBaseProperty, userRegexPatterns);
        groupNameRegEx.populateReplacementPatterns(groupNameBaseProperty, groupRegexPatterns);
        assertEquals("test_user", userNameRegEx.transform("test user"));
        assertEquals("ldap_grp", groupNameRegEx.transform("ldap grp"));
}