public void setUp() throws Exception {
this.osInfo = this.createOpenSearchInfo();
((SimpleOpenSearchUrlInfo) osInfo.getUrls()[0]).setOpenSearchUrlAdapter(new TestingOpenSearchUrlAdapter1());
((SimpleOpenSearchUrlInfo) osInfo.getUrls()[1]).setOpenSearchUrlAdapter(new TestingOpenSearchUrlAdapter2());
this.osUrlProcessor = new OpenSearchUrlRequestProcessor();
this.osUrlProcessor.setOpenSearchInfo(this.osInfo);
Map<TargetType, RequestProcessor> processors = new HashMap<TargetType, RequestProcessor>();
processors.put(OpenSearchTargetTypes.OPENSEARCH_URL, osUrlProcessor);