+
+ public static Matcher<SequenceI> matchesSequenceString(SequenceI sequence)
+ {
+ return new SequenceStringMatcher(sequence.getSequenceAsString());
+ }
+
+ public static Matcher<Annotation[]> matchesAnnotations(
+ List<Annotation> annotations)
+ {
+ return new AnnotationsMatcher(annotations);
+ }
+
+ public static Matcher<Annotation[]> matchesAnnotations(
+ Annotation... annotations)
+ {
+ return new AnnotationsMatcher(Arrays.asList(annotations));
+ }