SplitAlgorithm splitAlgorithm = new SplitAlgorithmMock(1);
AlignAlgorithm alignAlgorithm = new AlignAlgorithmMock(2);
MergeAlgorithm mergeAlgorithm = new SeparatorMergeAlgorithm();
List<Filter> filterList = new ArrayList<Filter>();
filterList.add(new Modifier(splitAlgorithm, splitAlgorithm));
filterList.add(new Aligner(alignAlgorithm));
filterList.add(new Modifier(mergeAlgorithm, mergeAlgorithm));
CompositeFilter composite = new CompositeFilter(filterList);
List<Alignment> alignmentList = createAlignmentList(
SOURCE_SEGMENT_ARRAY, TARGET_SEGMENT_ARRAY);
List<Alignment> resultAlignmentList = composite.apply(alignmentList);