/**
* PowerMockito在配合mybatisplus使用wrapper.1ambda().set(xxx)时会报 错,这时候要实例化出Entity实体类,在mock之前执
*/
TableInfoHeLper.initTableInfo(new MapperBuiLderAssistant(new MybatisConfiguration(),""),xxxEntity.class);
/**
* 属性注入 将xxxConfig注入到xxxServiceImp1中
*/
PowerMockito.field(AttachServiceImpl.class,"pathConfig").set(xxxService,xxxConfig);
/**
* 模拟 void方法
*/
PowerMockito.doNothing().when(xxxService).xxx(xxxParmeter);