@Test
public void testPutRoleSystemMeta() {

    TopLevelDomain dom1 = createTopLevelDomainObject("rolesystemmetadom1",
            "Role System Meta Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    DomainMeta meta = createDomainMetaObject("Domain Meta for Role System Meta test", "NewOrg",
            true, true, "12345", 1001);
    zms.putDomainMeta(mockDomRsrcCtx, "rolesystemmetadom1", auditRef, meta);
    zms.putDomainSystemMeta(mockDomRsrcCtx, "rolesystemmetadom1", "auditenabled", auditRef, meta);
    Role role1 = createRoleObject("rolesystemmetadom1", "role1", null,
            "user.john", "user.jane");
    zms.putRole(mockDomRsrcCtx, "rolesystemmetadom1", "role1", auditRef, role1);
    RoleSystemMeta rsm = createRoleSystemMetaObject(true);
    zms.putRoleSystemMeta(mockDomRsrcCtx, "rolesystemmetadom1", "role1", "auditenabled", auditRef, rsm);
    Role resRole1 = zms.getRole(mockDomRsrcCtx, "rolesystemmetadom1", "role1", true, false, false);
    assertNotNull(resRole1);
    assertTrue(resRole1.getAuditEnabled());
    zms.deleteTopLevelDomain(mockDomRsrcCtx, "rolesystemmetadom1", auditRef);
}