标签: mockito powermock easymock
private UserDao userDao; public UserServiceImpl(DaoManager daoManager){ userDao = (UserDao)daoManager.getDao(UserDao.class); }