@Test
public void testInOperator() throws Exception {

  QueryLexer lexer = new QueryLexer();
  Token[] tokens = lexer.tokens("foo.in(one, two, 3)");
  List<Token> listTokens = new ArrayList<Token>();
  listTokens.add(new Token(Token.TYPE.RELATIONAL_OPERATOR_FUNC, ".in("));
  listTokens.add(new Token(Token.TYPE.PROPERTY_OPERAND, "foo"));
  listTokens.add(new Token(Token.TYPE.VALUE_OPERAND, "one, two, 3"));
  listTokens.add(new Token(Token.TYPE.BRACKET_CLOSE, ")"));
  assertArrayEquals(listTokens.toArray(new Token[listTokens.size()]), tokens);
}