@Test
public void testPipeline() throws Exception {
StringAttribute response = new StringAttribute("bla");
PipelineContext context = pipelineService.createContext();
context.put("start", "start");
pipelineService.execute("pipelineTest", null, context, response);
Assert.assertEquals("starts1s2s3", response.getValue());
context.put("start", "bla-");
pipelineService.execute("pipelineTest", "aLayer", context, response);
Assert.assertEquals("bla-step-1step-3", response.getValue());
context.put("start", "stop-");
pipelineService.execute("pipelineTest", "stop", context, response);
Assert.assertEquals("stop-s1-STOP", response.getValue());
}