### Question:
Query { public static ResultType getResultType(final String value) throws AttributeExpressionLanguageParsingException { return Query.compile(value).getResultType(); } private  Query(final String query, final Tree tree, final Evaluator<?> evaluator); static boolean isValidExpression(final String value); static ResultType getResultType(final String value); static List<ResultType> extractResultTypes(final String value); static List<String> extractExpressions(final String value); static List<Range> extractExpressionRanges(final String value); static void validateExpression(final String value, final boolean allowSurroundingCharacters); static String unescape(final String value); static Query fromTree(final Tree tree, final String text); static Tree compileTree(final String query); static PreparedQuery prepare(final String query); static Query compile(final String query); ResultType getResultType(); @Override String toString();  }### Answer:
@Test public void testToNumberFunctionReturnsNumberType() { assertEquals(ResultType.WHOLE_NUMBER, Query.getResultType("${header.size:toNumber()}")); }
@Test public void testRandomFunctionReturnsNumberType() { assertEquals(ResultType.WHOLE_NUMBER, Query.getResultType("${random()}")); }