Test.java 712 Bytes
/**
 * 
 */
package com;

import javax.annotation.Resource;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.yoho.activity.common.cache.RedisCache;

/**
 * 描述:
 * 
 * @author ping.huang
 * 2016年3月15日
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {
		"classpath*:META-INF/spring/spring*.xml"})
public class Test {
	
	@Resource
	RedisCache redisCache;
	
	@org.junit.Test
	public void t() {
		System.out.println(redisCache.getSortId(-1));
		System.out.println(redisCache.getSortId(-1));
		System.out.println(redisCache.getSortId(-1));
	}
}