@Test
    public void testDataSource() {
//        userService.updateUserPassword("2a8e48c8-9d09-4ef4-892c-b3436070297c","12345678","123456");
//        redisService.cacheSet(REDIS_USERID_KEY,8);
//        redisService.cacheSet(REDIS_USERID_KEY,10);
//        redisService.deleteSet(REDIS_USERID_KEY,8);
//            System.out.println(redisService.setHasValue(REDIS_USERID_KEY,5));
//        postsDao.findAll();
    }
Created by lhr on 17-7-31.
user.setUsername("lhr");
user.setPassword("root");
quark-rest/src/test/java/com/quark/rest/RestApplicationTest.java