public Snowflake() {
		this(IdConstants.DEFAULT_WORKER_ID);
	}
@Test
	public void snowflakeTest(){
		final HashSet<Long> hashSet = new HashSet<>();

		//构建Snowflake，提供终端ID和数据中心ID
		final Snowflake idWorker = new Snowflake(0, 0);
		for (int i = 0; i < 1000; i++) {
			final long id = idWorker.nextId();
			hashSet.add(id);
		}
		assertEquals(1000L, hashSet.size());
	}