@Test
public void shouldFindValues() {

	final InputSelection inputSelection = new InputSelection(1);
	final ObjectAccess objectAccess = new ObjectAccess("test");
	final EvaluationExpression pathExpression = ExpressionUtil.makePath(inputSelection, objectAccess);
	final EvaluationExpression expression =
		new ArithmeticExpression(pathExpression, ArithmeticOperator.ADDITION, ConstantExpression.MISSING);
	Assert.assertSame(inputSelection, expression.findFirst(InputSelection.class));
	Assert.assertSame(objectAccess, expression.findFirst(ObjectAccess.class));
}