@Test
public void saveState() {

  UriTokenizer tokenizer = new UriTokenizer("a*");
  assertTrue(tokenizer.next(TokenKind.ODataIdentifier));
  tokenizer.saveState();
  assertTrue(tokenizer.next(TokenKind.STAR));
  assertTrue(tokenizer.next(TokenKind.EOF));
  tokenizer.returnToSavedState();
  assertTrue(tokenizer.next(TokenKind.STAR));
  assertTrue(tokenizer.next(TokenKind.EOF));
}