### Question:
ProteinPointLocation implements ConvertibleToHGVSString { @Override public String toHGVSString() { return toHGVSString(AminoAcidCode.THREE_LETTER); } ProteinPointLocation(String aa, int pos, int offset, boolean downstreamOfTerminal); static ProteinPointLocation build(String aa, int pos); static ProteinPointLocation buildWithOffset(String aa, int pos, int offset); static ProteinPointLocation buildDownstreamOfTerminal(String aa, int pos); int getPos(); String getAA(); int getOffset(); boolean isDownstreamOfTerminal(); @Override String toHGVSString(); @Override String toHGVSString(AminoAcidCode code); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testToHGVSString() { Assert.assertEquals("Ala124", location1.toHGVSString()); Assert.assertEquals("A124", location1.toHGVSString(AminoAcidCode.ONE_LETTER)); Assert.assertEquals("Ala124", location1.toHGVSString(AminoAcidCode.THREE_LETTER)); Assert.assertEquals("Ala124", location1.toHGVSString()); Assert.assertEquals("Cys124", location3.toHGVSString()); Assert.assertEquals("Cys124+1", location4.toHGVSString()); Assert.assertEquals("Cys124-1", location5.toHGVSString()); Assert.assertEquals("Cys*124", location6.toHGVSString()); }