@Test
public void qualifiedName() {

  assertTrue(new UriTokenizer("namespace.name").next(TokenKind.QualifiedName));
  final UriTokenizer tokenizer = new UriTokenizer("multi.part.namespace.name.1");
  assertTrue(tokenizer.next(TokenKind.QualifiedName));
  assertTrue(tokenizer.next(TokenKind.DOT));
  assertTrue(tokenizer.next(TokenKind.IntegerValue));
  assertTrue(tokenizer.next(TokenKind.EOF));
  assertFalse(new UriTokenizer("name").next(TokenKind.QualifiedName));
  assertFalse(new UriTokenizer("namespace..name").next(TokenKind.QualifiedName));
  assertFalse(new UriTokenizer("").next(TokenKind.QualifiedName));
  wrongToken(TokenKind.QualifiedName, "namespace._", ',');
}