@Test
public void testGetResourceAccessList() {

    ZMSImpl zmsImpl = zmsInit();
    DBService dbService = Mockito.mock(DBService.class);
    Mockito.when(dbService.getResourceAccessList("sys.zts", "update"))
            .thenReturn(new ResourceAccessList());
    zmsImpl.dbService = dbService;
    Authority principalAuthority = new com.yahoo.athenz.common.server.debug.DebugPrincipalAuthority();
    Principal sysPrincipal = principalAuthority.authenticate("v=U1;d=sys;n=zts;s=signature",
            "10.11.12.13", "GET", null);
    ResourceContext rsrcCtx = createResourceContext(sysPrincipal);
    ResourceAccessList accessList = zmsImpl.getResourceAccessList(rsrcCtx, "sys.zts", "UPDATE");
    assertNotNull(accessList);
    zmsImpl.objectStore.clearConnections();
}