ModelManager mm = ModelManager.getInstance();
ModelManagerMockUp mmmu = ModelManagerMockUp.getInstance();
mm.addObserver(mmmu);
mm.notifyObservers(new ObserverNotification(NotificationType.elementAdded));
try {
converter.parseFile(new FileInputStream("./resources/rostock.osm"));
}
catch (Exception xcp) {
xcp.printStackTrace();
}
mm.deleteObserver(mmmu);