ResidueNumber implements Serializable, Comparable<ResidueNumber> { public String getChainId() { return chainId; } ResidueNumber();  ResidueNumber(String chainId, Integer residueNumber, Character insCode); String getChainId(); void setChainId(String chainId); Character getInsCode(); void setInsCode(Character insCode); Integer getSeqNum(); void setSeqNum(Integer seqNum); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); String toPDB(); static ResidueNumber fromString(String pdb_code); int compareTo(ResidueNumber other); String printFull();  }
@Test public void testGetSetChainId() { ResidueNumber instance = new ResidueNumber("A", 42, ' '); String expResult = "A"; String result = instance.getChainId(); assertEquals(expResult, result); }