@Test
public void testParseWithStarsWithMethod() throws ExpressionVisitException {

	Expression expression = _filterParserImpl.parse(
		"startswith(fieldExternal, 'value')");
	Assert.assertNotNull(expression);
	MethodExpression methodExpression = (MethodExpression)expression;
	Assert.assertEquals(
		MethodExpression.Type.STARTS_WITH, methodExpression.getType());
	List<Expression> expressions = methodExpression.getExpressions();
	MemberExpression memberExpression = (MemberExpression)expressions.get(
		0);
	PrimitivePropertyExpression primitivePropertyExpression =
		(PrimitivePropertyExpression)memberExpression.getExpression();
	Assert.assertEquals(
		"fieldExternal", primitivePropertyExpression.getName());
	LiteralExpression literalExpression =
		(LiteralExpression)expressions.get(1);
	Assert.assertEquals("'value'", literalExpression.getText());
}