QuerySetResults { public String getName() { return name; } QuerySetResults(Map<String, List<EvalDoc>> results);  QuerySetResults(String filename); Map<String, QueryResults> toMap(); Iterable<String> getQueryIterator(); QueryResults get(String query); String getName(); void ensureQuerySet(List<Parameters> queries); void dropQuery(String qid); void restrictQueries(List<String> qids);  }
@Test public void testGetName() { Map<String, List<EvalDoc>> results = new HashMap<>(); results.put("query docs1", docs1); results.put("query docs2", docs2); QuerySetResults rs = new QuerySetResults(results); Assert.assertEquals("results", rs.getName()); }