CDXIndexer extends IndexerBase { @Override public Long begin() throws ServiceException { return getResult().getOid(); } CDXIndexer(); protected  CDXIndexer(CDXIndexer original); @Override void indexFiles(Long harvestResultOid); @Override Long begin(); @Override String getName(); @Override void initialise(ArcHarvestResultDTO result, File directory); @Override RunnableIndex getCopy(); void setEnabled(boolean enabled); @Override boolean isEnabled();  }
@Test public final void testBegin() { try { assertEquals(hrOid, testInstance.begin()); } catch (Exception e) { fail(e.getMessage()); } }