public void testGetId() throws RepositoryException {
assertEquals("{" + TestConnection.docId1 + "}", fd.get_Id().toString());
}
public void testGetPermissions() throws RepositoryException {
Permissions perms = new Permissions(fd.get_Permissions());
assertNotNull(perms);
boolean authorized = perms.authorize(MockUtil.createAdministratorUser());
assertTrue("User is not authorized", authorized);
}