@Test
public void execute() {

    prepareFunctionExpressionResponses();
    final ImmutablePipeline pipeline = new ImmutablePipeline(functionExpression, STAGES);
    final PipelineElement result = pipeline.execute(PIPELINE_INPUT, expressionResolver);
    verifyResultEqualsLastResponse(result);
    verifyFunctionExpressionWasCalledWithIntermediateValues();
}