ParsingModelIo { public static void saveRelationsFile( FileDefinition relationsFile, boolean writeComments, String lineSeparator ) throws IOException { if( relationsFile.getEditedFile() == null ) throw new IOException( "Save operation could not be performed. The model was not loaded from a local file." ); saveRelationsFileInto( relationsFile.getEditedFile(), relationsFile, writeComments, lineSeparator ); } private  ParsingModelIo(); static FileDefinition readConfigurationFile( File relationsFile, boolean ignoreComments ); static String writeConfigurationFile( FileDefinition relationsFile, boolean writeComments, String lineSeparator ); static void saveRelationsFile( FileDefinition relationsFile, boolean writeComments, String lineSeparator ); static void saveRelationsFileInto(
			File targetFile,
			FileDefinition relationsFile,
			boolean writeComments,
			String lineSeparator );  }
@Test( expected = IOException.class ) public void saveRelatrionFileRequiresTargetFile() throws Exception { FileDefinition def = new FileDefinition((File) null ); ParsingModelIo.saveRelationsFile( def, true, "\n " ); }