* Tests whether alignments with infinite score are ignored and
* the ones without are not by using {@link OneToOneAlgorithm} aligner.
*/
@Test
public void testIgnoreInfiniteProbability() {
Filter oneToOneAligner = new Aligner(new OneToOneAlgorithm());
Filter filter =
new IgnoreInfiniteProbabilityAlignmentsFilterDecorator(oneToOneAligner);
List<Alignment> alignmentList = createAlignmentList(
SOURCE_SEGMENT_ARRAY, TARGET_SEGMENT_ARRAY);