@Test(groups = "querytest", dataProvider = "query-data") public void format(final Query query, final String[] terms) { Assert.assertEquals(query.getTerms(), terms); }
public String[] getTerms() { return terms; }
Query { public String[] getTerms() { return terms; } }
Query { public String[] getTerms() { return terms; } Query(final String query); }
Query { public String[] getTerms() { return terms; } Query(final String query); String[] getTerms(); void setReturnAttributes(final String[] attrs); String[] getReturnAttributes(); void setSearchRestrictions(final String restrictions); String getSearchRestrictions(); void setFromResult(final Integer i); Integer getFromResult(); void setToResult(final Integer i); Integer getToResult(); @Override String toString(); }
Query { public String[] getTerms() { return terms; } Query(final String query); String[] getTerms(); void setReturnAttributes(final String[] attrs); String[] getReturnAttributes(); void setSearchRestrictions(final String restrictions); String getSearchRestrictions(); void setFromResult(final Integer i); Integer getFromResult(); void setToResult(final Integer i); Integer getToResult(); @Override String toString();  }