@Test
    public void testTerraCachingOldCollection() throws Exception {
        final List<Geocache> caches = readGPX11(R.raw.terracaching_gpx);
        assertThat(caches).hasSize(55);

        Collections.sort(caches, new GeocodeComparator());

        final Geocache cache = caches.get(0);
        assertThat(cache.getGeocode()).isEqualTo("TCNZ");
        assertThat(cache.getName()).isEqualTo("Het Witte Veen");
        assertThat(cache.getOwnerDisplayName()).isEqualTo("Het Zwarte Schaap");
        assertThat(cache.getType()).isEqualTo(CacheType.MULTI);
        assertThat(cache.getSize()).isEqualTo(CacheSize.SMALL);
    }
fake GPX with bad cache id, must be detected by GPX import
main/src/androidTest/java/cgeo/geocaching/files/GPXParserTest.java