@Test
public void testCheckRoleSet() {

    
    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    Set<String> checkSet = new HashSet<>();
    checkSet.add("role1");
    checkSet.add("role2");
    
    assertTrue(store.checkRoleSet("test1", null));
    assertTrue(store.checkRoleSet("role1", checkSet));
    assertTrue(store.checkRoleSet("role2", checkSet));
    assertFalse(store.checkRoleSet("role3", checkSet));
}