如何使用PowerMock或EasyMock模拟类型转换

时间:2015-02-05 07:36:59

标签: mockito powermock easymock

private UserDao userDao;
public UserServiceImpl(DaoManager daoManager){

    userDao = (UserDao)daoManager.getDao(UserDao.class);
}

0 个答案:

没有答案