offlineAccess.canRetrieve(null);
}
@Test
public void testGetParentByNode() throws RepositoryAccessException {
CMSObject child11 = (CMSObject) repository.get(1);
CMSObject root = (CMSObject) repository.get(0);
CMSObject parent = offlineAccess.getParentByNode(child11, null);
assertSame(root, parent);
expectedException.expect(IllegalArgumentException.class);
offlineAccess.getParentByNode(child11, new Object());
}