GeneQueryResponse { public boolean isEmpty() { return geneIdsByQueryTerm.isEmpty(); }  GeneQueryResponse addGeneIds(String queryTerm, Set<String> geneIds); Set<String> getAllGeneIds(); boolean isEmpty(); Set<String> getQueryTerms(); boolean containsEntry(String queryTerm, String id); Collection<String> getIds(String queryTerm);  }
@Test public void testIsEmpty() { subject = new GeneQueryResponse(); assertThat(subject.isEmpty(), is(true)); }
@Test public void testIsNotEmpty() { assertThat(subject.isEmpty(), is(false)); }