@Test
public void enumValue() {

  assertTrue(new UriTokenizer("namespace.name'value'").next(TokenKind.EnumValue));
  assertTrue(new UriTokenizer("namespace.name'flag1,flag2,-3'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("namespace.name'1flag'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("namespace.name'flag1,,flag2'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("namespace.name',value'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("namespace.name'value,'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("namespace.name''").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("'1'").next(TokenKind.EnumValue));
  assertFalse(new UriTokenizer("1").next(TokenKind.EnumValue));
  wrongToken(TokenKind.EnumValue, "namespace.name'_1,_2,3'", ';');
}