}
// ----------------------------------------------------------
private PipelineContext getPipelineContext(int offset, int limit) {
PipelineContext pip = new PipelineContextImpl();
pip.put(PipelineCode.LAYER_KEY, testLayer);
pip.put(PipelineCode.OFFSET_KEY, offset);
pip.put(PipelineCode.MAX_RESULT_SIZE_KEY, limit);
pip.put(PipelineCode.FILTER_KEY, Filter.INCLUDE);
pip.put(PipelineCode.FEATURE_INCLUDES_KEY, 0);
pip.put(PipelineCode.LAYER_ID_KEY, testLayer.getId());
pip.put(PipelineCode.STYLE_KEY, new NamedStyleInfo());
return pip;
}