Assert.assertEquals("stop-s1-STOP", response.getValue());
}
@Test
public void extensionTest() throws Exception {
StringAttribute response = new StringAttribute("bla");
PipelineContext context = pipelineService.createContext();
context.put("start", "start");
pipelineService.execute("hookedTest", "base", context, response);
Assert.assertEquals("starts1s2", response.getValue());
context.put("start", "start");
pipelineService.execute("hookedTest", "delegate2", context, response);
Assert.assertEquals("starts1pps2ps2s2", response.getValue());
context.put("start", "start");
pipelineService.execute("hookedTest", "delegate", context, response);
Assert.assertEquals("starts1ps2s2", response.getValue());
}