hit.setArtifactId("archiva-configuration");
hit.setUrl("url");
hit.addVersion("1.0");
hit.addVersion("1.1");
SearchResults results = new SearchResults();
results.setLimits(limits);
results.setTotalHits(1);
results.addHit(SearchUtil.getHitId("org.apache.archiva", "archiva-configuration", null, "jar"), hit);
results.setTotalHitsMapSize( results.getHitsMap().values().size() );
userReposControl.expectAndReturn(userRepos.getObservableRepositoryIds("user"), selectedRepos);
searchControl.expectAndReturn(search.search("user", selectedRepos, "archiva", limits, parsed), results);
userReposControl.replay();