SimpleSequencePair extends SimpleProfile<S, C> implements SequencePair<S, C> { @Override public AlignedSequence<S, C> getTarget() { return getAlignedSequence(2); } SimpleSequencePair(AlignedSequence<S, C> query, AlignedSequence<S, C> target);  SimpleSequencePair(S query, S target, List<Step> sx, List<Step> sy);  SimpleSequencePair(S query, S target, List<Step> sx, int xb, int xa, List<Step> sy, int yb, int ya); @Override C getCompoundInQueryAt(int alignmentIndex); @Override C getCompoundInTargetAt(int alignmentIndex); @Override int getIndexInQueryAt(int alignmentIndex); @Override int getIndexInQueryForTargetAt(int targetIndex); @Override int getIndexInTargetAt(int alignmentIndex); @Override int getIndexInTargetForQueryAt(int queryIndex); @Override int getNumIdenticals(); @Override int getNumSimilars(); @Override AlignedSequence<S, C> getQuery(); @Override AlignedSequence<S, C> getTarget();  }
@Test public void testGetTarget() { assertEquals(global.getTarget().getOriginalSequence(), target); assertEquals(local.getTarget().getOriginalSequence(), target); }