SampleReportServiceImpl implements SampleReportService { @Override public List<SampleReportRow> getRowsWithSequencerRuns() { return sampleReportDAO.getRowsWithSequencerRuns(); }  void setSampleReportDAO(SampleReportDAO dao); @Override List<Status> getStatusesForStudy(Study study); @Override List<Workflow> getWorkflowsForStudy(Study study); @Override List<Workflow> getWorkflows(SequencerRun seqRun); @Override int countOfStatus(Study study, Status status); @Override int countOfStatus(SequencerRun seqRun, Status status); @Override int countOfStatus(Study study, Workflow workflow, Status status); @Override int countOfStatus(SequencerRun seqRun, Workflow workflow, Status status); @Override int countOfRows(SequencerRun seqRun); @Override List<Sample> getChildSamples(Study study); @Override Status getStatus(Study study, Sample childSample, Workflow workflow); @Override Status getStatus(Study study, Sample sample, IUS ius, Lane lane, SequencerRun seqRun, Workflow workflow); @Override List<Status> getStatusesForWorkflow(Study study, Workflow workflow); @Override List<SampleReportRow> getRowsForSequencerRun(SequencerRun sr); @Override List<SampleReportRow> getRowsWithSequencerRuns(); @Override List<Status> getStatusesForWorkflow(SequencerRun seqRun, Workflow workflow); @Override List<Status> getStatusesForSequencerRun(SequencerRun seqRun); @Override List<SequencerRunReportId> getSequencerRunReportIds(SequencerRun seqRun, String sortField, String sortOrder, int offset,
            int limit); @Override List<SequencerRunReportId> getSequencerRunReportIds(SequencerRun seqRun); @Override List<SequencerRunReportId> getSequencerRunReportIds(SequencerRun seqRun, String sortField, String orderType);  }
@Test public void testGetRowsWithSequencerRuns() { try { InSessionExecutions.bindSessionToThread(); SampleReportService sampleReportService = BeanFactory.getSampleReportServiceBean(); List<SampleReportRow> reportRows = sampleReportService.getRowsWithSequencerRuns(); assertEquals(51, reportRows.size()); } finally { InSessionExecutions.unBindSessionFromTheThread(); } }