### Question:
DefaultSurveillanceService implements SurveillanceService { public SimpleWebTable createSurveillanceTable() { return createSurveillanceTable("default", new ProgressMonitor()); }  SimpleWebTable createSurveillanceTable(); SimpleWebTable createSurveillanceTable(final String surveillanceViewName, final ProgressMonitor progressMonitor); NodeDao getNodeDao(); void setNodeDao(final NodeDao nodeDao); CategoryDao getCategoryDao(); void setCategoryDao(final CategoryDao categoryDao); SurveillanceViewConfigDao getSurveillanceConfigDao(); void setSurveillanceConfigDao(final SurveillanceViewConfigDao surveillanceConfigDao); String getHeaderRefreshSeconds(final String viewName); boolean isViewName(final String viewName); List<String> getViewNames();  }### Answer:
@Test public void testCreateSurveillanceTable() { View view = new View(); Rows rows = new Rows(); view.setRows(rows); Columns columns = new Columns(); view.setColumns(columns); expect(m_surveillanceViewConfigDao.getView(eq("default"))).andReturn(view).atLeastOnce(); m_mockUtils.replayAll(); DefaultSurveillanceService surveillanceSvc = new DefaultSurveillanceService(); surveillanceSvc.setNodeDao(m_nodeDao); surveillanceSvc.setCategoryDao(m_categoryDao); surveillanceSvc.setSurveillanceConfigDao(m_surveillanceViewConfigDao); surveillanceSvc.createSurveillanceTable(); m_mockUtils.verifyAll(); }