package io.geekidea.springbootplus.test;

import com.wecloud.utils.SnowflakeUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Id生成 单元测试
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class IdTest {


    @Test
    public void test() {
        Long id = SnowflakeUtil.getId();
    }
}
