WaybackIndexer extends IndexerBase { @Override public Long begin() throws ServiceException { buildIndexFileList(); return getResult().getOid(); } WaybackIndexer(); protected  WaybackIndexer(WaybackIndexer original); @Override RunnableIndex getCopy(); @Override Long begin(); @Override String getName(); @Override void indexFiles(Long harvestResultOid); @Override void removeIndex(Long harvestResultOid); @Override void initialise(ArcHarvestResultDTO result, File directory); void setWaybackInputFolder(String waybackInputFolder); String getWaybackInputFolder(); void setWaybackMergedFolder(String waybackMergedFolder); String getWaybackMergedFolder(); void setWaybackFailedFolder(String waybackFailedFolder); String getWaybackFailedFolder(); void setWaittime(long waittime); long getWaittime(); void setTimeout(long timeout); long getTimeout(); void setEnabled(boolean enabled); @Override boolean isEnabled();  }
@Test public final void testBegin() { try { assertEquals(hrOid, testInstance.begin()); } catch (Exception e) { fail(e.getMessage()); } }