@Test
public void testCheck(){

	String key = "addOrder";
	String value = "709394";
	this.tokenValidator.clear(key);
	this.tokenValidator.save(key, ()->value);
	
	//value不正确
	Assertions.assertThatExceptionOfType(ServiceException.class)
				.isThrownBy(()->{
					this.tokenValidator.check(key, "error code", ()->{
						Assert.fail("will not run...");
					});
				})
				.withMessage(TokenValidatorErrors.TOKEN_INVALID_OR_EXPIRED.getErrorMessage());
	this.tokenValidator.check(key, value, ()->{
		System.out.println("run...");
	});
	this.tokenValidator.clear(key);
}