### Question:
NucleotideSubstitution extends NucleotideChange { public static NucleotideSubstitution buildWithOffset(boolean onlyPredicted, int basePos, int posOffset, String fromNT, String toNT) { return new NucleotideSubstitution(onlyPredicted, NucleotidePointLocation.buildWithOffset(basePos, posOffset), fromNT, toNT); } NucleotideSubstitution(boolean onlyPredicted, NucleotidePointLocation position, String fromNT, String toNT); static NucleotideSubstitution buildWithOffset(boolean onlyPredicted, int basePos, int posOffset,
														 String fromNT, String toNT); static NucleotideSubstitution build(boolean onlyPredicted, int basePos, String fromNT, String toNT); @Override NucleotideSubstitution withOnlyPredicted(boolean flag); NucleotidePointLocation getPosition(); String getFromNT(); String getToNT(); @Override String toHGVSString(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testBuildWithOffset() { Assert.assertEquals(subWithOffset, NucleotideSubstitution.buildWithOffset(true, 10, 1, "A", "T")); }
@Test public void testBuildWithoutOffset() { Assert.assertEquals(subWithoutOffset, NucleotideSubstitution.buildWithOffset(true, 10, 0, "A", "T")); }