public class SimpleTaskTest extends TestCase {
public void testUseDifferentSplitters() throws AlignmentImpossibleException {
Splitter sourceSplitter = new SplitterMock(1);
Splitter targetSplitter = new SplitterMock(2);
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);