### Question:
DaoWebOutageRepository implements WebOutageRepository, InitializingBean { @Transactional public OutageSummary[] getMatchingOutageSummaries(final OutageCriteria criteria) { List<OnmsOutage> onmsOutages = m_outageDao.findMatching(getOnmsCriteria(criteria)); return getOutageSummary(onmsOutages).toArray(new OutageSummary[0]); }  @Override void afterPropertiesSet(); @Transactional int countMatchingOutageSummaries(final OutageCriteria criteria); @Transactional int countMatchingOutages(OutageCriteria criteria); @Transactional OutageSummary[] getMatchingOutageSummaries(final OutageCriteria criteria); @Transactional Outage[] getMatchingOutages(final OutageCriteria criteria); @Transactional Outage getOutage(final int OutageId); @Transactional int countCurrentOutages(); @Transactional OutageSummary[] getCurrentOutages(final int rows);  }### Answer:
@Test @JUnitTemporaryDatabase public void testGetOutageSummaries() { OutageSummary[] summaries = m_daoOutageRepo.getMatchingOutageSummaries(new OutageCriteria()); assertEquals("there should be 2 outage summary in the default (current) outage criteria match", 2, summaries.length); }