@Test
@Ignore
public void testRedisCache() throws IOException {
String file = getClass().getResource("/aaa.jpg").getFile();
Cache redisCache = new RedisBasedCache("127.0.0.1", 6379);
ImageAccess imageAccess = new CacheImageAccess(redisCache);
String uuid = imageAccess.saveImageFile(FileUtils.readFileToByteArray(new File(file)), "aaa.jpg");
System.out.println(uuid);
assertTrue(uuid != null);
ImageFile imageFile = imageAccess.getImageFile(uuid);