DefaultTypeIdentifier type = new DefaultTypeIdentifier(typeFactory,
"type");
type.setPathRecogniser(new RegexpPathRecogniser(filename));
type.addContentIdentifier(
new DefaultContentIdentifier(version1,
new RegexpContentRecogniser(inputData)));
DefaultGraph graph = new DefaultGraph(version2);
Step step = new DefaultStep(version1, version2,
new TestStreamMigrator(inputData, outputData));
graph.addStep(step);
type.setGraph(graph);