Site implements PDBRecord, Serializable, Comparable<Site> { public void remark800toPDB(StringBuffer stringBuffer) { stringBuffer.append(String.format(Locale.UK, "REMARK 800 SITE_IDENTIFIER: %-52s%s", siteID, lineEnd)); stringBuffer.append(String.format(Locale.UK, "REMARK 800 EVIDENCE_CODE: %-54s%s", evCode, lineEnd)); stringBuffer.append(String.format(Locale.UK, "REMARK 800 SITE_DESCRIPTION: %-51s%s", description, lineEnd)); } 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 testRemark800ToPDB_0args() { String expResult = "REMARK 800 SITE_IDENTIFIER: CAT " + newline + "REMARK 800 EVIDENCE_CODE: UNKNOWN " + newline + "REMARK 800 SITE_DESCRIPTION: ACTIVE SITE " + newline; String result = catSite.remark800toPDB(); assertEquals(expResult, result); }