@Test
public void testContainsMatchCharacter() {

    assertTrue(StringUtils.containsMatchCharacter("abc*"));
    assertTrue(StringUtils.containsMatchCharacter("*abc"));
    assertTrue(StringUtils.containsMatchCharacter("abc*abc"));
    assertTrue(StringUtils.containsMatchCharacter("*"));
    assertTrue(StringUtils.containsMatchCharacter("?abc"));
    assertTrue(StringUtils.containsMatchCharacter("abc?"));
    assertTrue(StringUtils.containsMatchCharacter("abc?abc"));
    assertTrue(StringUtils.containsMatchCharacter("?"));
    assertFalse(StringUtils.containsMatchCharacter("abc"));
    assertFalse(StringUtils.containsMatchCharacter("a.bc[ab]"));
    assertFalse(StringUtils.containsMatchCharacter("a(ab)[ab]"));
    assertFalse(StringUtils.containsMatchCharacter("domain:role.rolename"));
}