@Test
public void securityExceptions() {

    // /server-group=*:read-resource-description(access-control=trim-descriptions,recursive=true){roles=other-admin}
    ResourceAddress address = AddressTemplate.of("/server-group=*").resolve(StatementContext.NOOP);
    ModelNode modelNode = ExternalModelNode
            .read(SingleRrdParserTest.class.getResourceAsStream("rrd_security_exceptions.dmr"));
    new SingleRrdParser(rrdResult).parse(address, modelNode);
    assertSecurityContexts(rrdResult, 8,
            "/server-group=*",
            "/server-group=*/deployment=*",
            "/server-group=*/jvm=*",
            "/server-group=*/deployment-overlay=*",
            "/server-group=*/deployment-overlay=*/deployment=*",
            "/server-group=*/system-property=*",
            "/server-group=other-server-group",
            "/server-group=other-server-group/jvm=default");
}