### Question:
OptLogService { public void insertOptLog(OptLogDto optLogDto) { if (StringUtils.isNotBlank(optLogDto.getId())) { OptLog tempOptLog = optLogDao.findById(optLogDto.getId()).orElseThrow(ResourceNotFoundException::new); BeanUtil.copyProperties(tempOptLog, optLogDto); } optLogDao.save(optLogMapper.toEntity(optLogDto)); } OptLogService(OptLogDao optLogDao,
	                     OptLogMapper optLogMapper,
	                     UserServiceRpc userServiceRpc); Page<OptLogDto> findOptLogByCondition(OptLogDto optLogDto, Pageable pageable); OptLogDto findById(String id); void insertOptLog(OptLogDto optLogDto); void deleteBatch(List<String> resId);  }### Answer:
@Test public void insertOptLog() { OptLogDto optLog = new OptLogDto(); optLog.setId("1200629646627049472"); optLog.setBrowser("maxxxxx"); optLogService.insertOptLog(optLog); }