Aligner aligner = new AlignerMock();
SimpleTask task =
new SimpleTask(sourceSplitter, targetSplitter, aligner);
List<Alignment> alignmentList = task.run("abcd", "efgh");
assertEquals(1, alignmentList.size());
Alignment alignment = alignmentList.get(0);
assertListEquals(new String[]{"a", "b", "c", "d",},
alignment.getSourceSegmentList());
assertListEquals(new String[]{"ef", "gh",},
alignment.getTargetSegmentList());
}