写好dao层后想测试一下,用JUnit测试,
private IAccountDao accountDao;
@Test
public void testFindAll(){
List<Account> accounts = accountDao.findAll();
}
发现提示空
写好dao层后想测试一下,用JUnit测试,
private IAccountDao accountDao;
@Test
public void testFindAll(){
List<Account> accounts = accountDao.findAll();
}
发现提示空