@Test
public void testServerNameNotMatch() throws Exception {

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