### Question:
RedisServiceImpl implements RedisService { @Override public void delStr(String key) { logger.info("删除 Redis 数据。入参：key：{}", key); ValueOperations<String, String> operations = stringRedisTemplate.opsForValue(); operations.getOperations().delete(key); }  @Override void setStr(String key, String value); @Override String getStr(String key); @Override void delStr(String key);  }### Answer:
@Test public void delStr() throws Exception { redisService.delStr("TEST"); }