@Test public void testPathfinder() throws Exception { Log.info(Log.FAC_TEST, "Starting testPathfinder"); // Make the content ContentName testRoot = testHelper.getTestNamespace("testPathfinder"); ContentName startingPoint = new ContentName(testRoot, "This", "is", "a", "longer", "path", "than", "necessary."); CCNStringObject targetObject = new CCNStringObject( new ContentName(startingPoint.parent().parent().parent(), TARGET_POSTFIX_NAME), "The target!", SaveType.REPOSITORY, writeHandle); targetObject.save(); Pathfinder finder = new Pathfinder( startingPoint, null, TARGET_POSTFIX_NAME, true, false, SystemConfiguration.SHORT_TIMEOUT, null, readHandle); SearchResults results = finder.waitForResults(); Assert.assertNotNull(results.getResult()); Log.info(Log.FAC_TEST, "Completed testPathfinder"); }