ExpressionParser { private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); } ExpressionParser(final Edm edm, final OData odata); Expression parse(UriTokenizer tokenizer, final EdmType referringType,
      final Collection<String> crossjoinEntitySetNames, final Map<String, AliasQueryOption> aliases);  }
@Test public void noParameterMethods() throws Exception { parseMethod(TokenKind.NowMethod); parseMethod(TokenKind.MaxdatetimeMethod); parseMethod(TokenKind.MindatetimeMethod); wrongExpression("now(1)"); }