private Geocache getFirstCache(@RawRes final int gpxResourceId) throws IOException, ParserException {
        final List<Geocache> caches = readGPX10(gpxResourceId);
        assertThat(caches).isNotNull();
        assertThat(caches).hasSize(1);
        return caches.get(0);
    }
fake GPX with bad cache id, must be detected by GPX import
main/src/androidTest/java/cgeo/geocaching/files/GPXParserTest.java