XMLUnit.setXpathNamespaceContext(new SimpleNamespaceContext(nsContext));
}
protected OpenSearchInfo createOpenSearchInfo() throws Exception {
SimpleOpenSearchInfo osInfo = new SimpleOpenSearchInfo();
SimpleOpenSearchQueryInfo osQueryInfo = new SimpleOpenSearchQueryInfo();
SimpleOpenSearchUrlInfo osUrlInfo1 = new SimpleOpenSearchUrlInfo();
SimpleOpenSearchUrlInfo osUrlInfo2 = new SimpleOpenSearchUrlInfo();
SimpleOpenSearchUrlParameterInfo osParamInfo1 = new SimpleOpenSearchUrlParameterInfo();
SimpleOpenSearchUrlParameterInfo osParamInfo2 = new SimpleOpenSearchUrlParameterInfo();
osInfo.setShortName(SHORT_NAME);
osInfo.setDescription(DESCRIPTION);
osInfo.setTags(TAG1, TAG2);
osQueryInfo.setRole(Query.Role.EXAMPLE);
osQueryInfo.setSearchTerms(QUERY_TERMS);
osInfo.setQueries(osQueryInfo);
osUrlInfo1.setSearchPath(SEARCH_PATH_1);
osUrlInfo2.setSearchPath(SEARCH_PATH_2);