RegisterByTimeAnalysisService implements IAnalysisService { @Override public void analysis(AnalysisParam analysisParam) { insertRegisterDetail(analysisParam); inserRegisterFailedDetail(analysisParam); analysisRegisterCount(analysisParam); analysisRegisterCountByUrl(analysisParam); }  @Override void analysis(AnalysisParam analysisParam);  }
@Test public void testAnalysis(){ AnalysisParam ap = new AnalysisParam("2014112001", TimeType.HOUR); registerByTimeAnalysisService.analysis(ap); }