assertEquals(asList(format), recentFormatsModel.getFormats());
}
@Test
public void testReadExistingFormatBug() throws IOException {
NavigationFormat first = new Gpx11Format();
NavigationFormat second = new Kml22Format();
NavigationFormat third = new Tcx2Format();
recentFormatsModel.addFormat(first);
recentFormatsModel.addFormat(second);
recentFormatsModel.addFormat(first);
recentFormatsModel.addFormat(third);
assertEquals(asList(third, first, second), recentFormatsModel.getFormats());