package me.chyxion.tigon.sequence;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @version 0.0.1
 * @since 0.0.1
 * @author Shaun Chyxion <br>
 * chyxion@163.com <br>
 * Nov 23, 2016 3:03:16 PM
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({
    "classpath*:spring/spring-*.xml",
    // "classpath*:spring/servlet-spring-*.xml"
})
public class TestDriver {

    @Autowired
    private IdSequence idSeq;

    @Test
    public void testIdSequence() {
        System.err.println(idSeq.get());
    }
}
