* Helper method to parse a given input file and compare the created model with key
* values extracted from the original xml file
* @param inputFilename
*/
private void testParseFileInputStream(String inputFilename) {
Osm2Model converter = new Osm2Model();
this.mmmu = ModelManagerMockUp.getInstance();
ModelManager mm = ModelManager.getInstance();
mm.clearModel();
mm.addObserver(this.mmmu);
try {
converter.parseFile(new FileInputStream(inputFilename));
}
catch (Exception xcp) {
xcp.printStackTrace();
}
}