public final void testWriteAndLoad3()
{
LearnerGraph graph = buildLearnerGraph("A-a->B-a-#C\nA-d-#D\nA-c->A","testAddTransitions4",Configuration.getDefaultConfiguration(),converter);
ChangesRecorder patcher = new ChangesRecorder(null);
patcher.addTransition(graph.findVertex("B"), AbstractLearnerGraph.generateNewLabel("c", cloneConfig,converter), graph.findVertex("B"));
patcher.removeTransition(graph.findVertex("A"), label_a, graph.findVertex("B"));
patcher.addTransition(graph.findVertex("A"), label_q, graph.findVertex("B"));
patcher.setInitial(graph.findVertex("A"));
ChangesRecorder.applyGD(graph, patcher.writeGD(createDoc()), converter);
LearnerGraph expected = buildLearnerGraph("A-q->B-a-#C\nA-d-#D\nA-c->A\nB-c->B","testWriteAndLoad1",Configuration.getDefaultConfiguration(),converter);
WMethod.checkM_and_colours(expected, graph, VERTEX_COMPARISON_KIND.DEEP);