Site implements PDBRecord, Serializable, Comparable<Site> { public String toPDB() { StringBuffer buffer = new StringBuffer(); toPDB(buffer); return buffer.toString(); } Site();  Site(String siteID, List<Group> groups); @Override String toString(); String toPDB(); void toPDB(StringBuffer buf); void remark800toPDB(StringBuffer stringBuffer); String remark800toPDB(); void setSiteID(String siteID); String getSiteID(); List<Group> getGroups(); void setGroups(List<Group> residues); String getDescription(); void setDescription(String description); String getEvCode(); void setEvCode(String evCode); @Override boolean equals(Object obj); @Override int hashCode(); int compareTo(Site other);  }
@Test public void testToPDB_0args() { String expResult = "SITE 1 AC1 6 ARG H 221A LYS H 224 HOH H 403 HOH H 460 " + newline + "SITE 2 AC1 6 HOH H 464 HOH H 497 "+ newline; String result = bindingSite.toPDB(); assertEquals(expResult, result); }