### Question:
RedisServiceImpl implements RedisService { @Override public String getStr(String key) { logger.info("获取 Redis 数据。入参：key：{}", key); ValueOperations<String, String> operations = stringRedisTemplate.opsForValue(); String value = operations.get(key); logger.info("获取 Redis 数据。出参：value：{}", value); return value; }  @Override void setStr(String key, String value); @Override String getStr(String key); @Override void delStr(String key);  }### Answer:
@Test public void getStr() throws Exception { System.out.println(redisService.getStr("TEST")); }