protected void assertMissingRoles(String regionName, String[] roles) {
    Region region = getRootRegion(regionName);
    Set missingRoles = RequiredRoles.checkForRequiredRoles(region);
    assertNotNull(missingRoles);
    assertEquals(roles.length, missingRoles.size());
    for (final Object missingRole : missingRoles) {
      Role role = (Role) missingRole;
      boolean found = false;
      for (final String s : roles) {
        if (role.getName().equals(s)) {
          found = true;
          break;
        }
      }
      assertTrue("Unexpected missing role: " + role.getName(), found);
    }
  }
Asserts that the specified roles are missing
geode-core/src/distributedTest/java/org/apache/geode/cache30/ReliabilityTestCase.java