offlineAccess.getNodeByName(UUID.randomUUID().toString(), new Object());
}
@Test
public void testGetFirstNodeByPath() throws RepositoryAccessException {
CMSObject real = offlineAccess.getFirstNodeByPath("/", null);
// Check only the root is returned
assertSame(repository.get(0), real);
CMSObject all = offlineAccess.getFirstNodeByPath("/%", null);
assertNotNull(all);
expectedException.expect(IllegalArgumentException.class);
offlineAccess.getFirstNodeByPath("/", new Object());
}