@Test
public void testChkAuthorizationHasValidRole() throws QuadrigaStorageException, QuadrigaAccessException {

    // this should succeed because collabuser is a collaborator and
    // has a role that has access to the collection
    boolean authorized = authorization.chkAuthorization("collabuser", "dictionaryId", new String[] { "role1" });
    assertTrue(authorized);
}