### Question:
XMLStorage implements IStorage { @Override public void storeWeightList(WeightList weightList, String destination) throws STException { xmlWeightList.storeWeightList(weightList, destination); } XMLStorage(); @Override SportTypeList readSportTypeList(String source, SpeedMode defaultSpeedMode); @Override void storeSportTypeList(SportTypeList sportTypeList, String destination); @Override ExerciseList readExerciseList(String source, SportTypeList sportTypeList); @Override void storeExerciseList(ExerciseList exerciseList, String destination); @Override NoteList readNoteList(String source); @Override void storeNoteList(NoteList noteList, String destination); @Override WeightList readWeightList(String source); @Override void storeWeightList(WeightList weightList, String destination);  }### Answer:
@Test public void testStoreWeightList() throws STException { WeightList weightList = storage.readWeightList("misc/testdata/weights-valid.xml"); storage.storeWeightList(weightList, WEIGHTS_WRITETEST_XML); WeightList weightListNew = storage.readWeightList(WEIGHTS_WRITETEST_XML); checkWeightListContent(weightListNew); }