@Test
public void testServerNameMatch() throws Exception {

  ServerNameRequiredMatch serverNameMatch = new ServerNameRequiredMatch("server1");
  try {
    serverNameMatch.validate(new PrivilegeValidatorContext("server=server1->connector=c1->action=read"));
  } catch (ConfigurationException ex) {
    Assert.fail("Not expected ConfigurationException");
  }
}