### Question:
SoftwareDao extends MyBatisDao { public Software querySoftware(String softwareName) throws DataAccessException { return (Software) getSqlSession().selectOne(STMT_QUERY_SOFTWARE_BY_NAME, softwareName); }  Software querySoftware(String softwareName); int insertSoftware(Software software);  }### Answer:
@Test public void testQuerySoftWare() { Software software = null; try { software = softwareDao.querySoftware("A"); } catch (DataAccessException e) { e.printStackTrace(); } Assert.assertNotNull(software); }