String motif = "CTGATC";
Strand strand = Strand.NEGATIVE;
Iterator<Feature> matchIter = MotifFinderSource.searchSingleStrand(motif, strand, null, posStart, shortSeq.getBytes());
assertTrue("No matches found for motif " + motif, matchIter.hasNext());
Feature feat = matchIter.next();
int expStart = posStart + shortSeq.length() - motif.length();
int expEnd = expStart + motif.length();
assertEquals(expStart, feat.getStart());
assertEquals(expEnd, feat.getEnd());
checkPatternMatches(motif, feat, shortSeq.getBytes());
assertFalse(matchIter.hasNext());
}