@Test
    public void testUpdateExistingWaypointFromNoteWithSamePrefix() {
        final Geocache cache = new Geocache();
        final String geocode = "Test" + System.nanoTime();
        cache.setGeocode(geocode);
        cache.setCoords(new Geopoint(40.0, 8.0));
        final Waypoint userWaypoint = new Waypoint("Test", WaypointType.OWN, true);
        final Geopoint userWpGeopoint = new Geopoint(42.0, 10.0);
        userWaypoint.setCoords(userWpGeopoint);
        userWaypoint.setPrefix("S1");
        cache.addOrChangeWaypoint(userWaypoint, false);
        saveFreshCacheToDB(cache);

        final List<Waypoint> wpList = new ArrayList<>();
        wpList.add(new Waypoint("", userWpGeopoint, "Test", "S1", "", WaypointType.OWN));
        assertWaypointsParsed(cache, "@[S1]ModTest N51 13.888 E007 03.444", wpList);

        removeCacheCompletely(geocode);
    }
Waypoint with coordinates exist. Update waypointlist from note.
The waypoint has same prefix, but different name and coordinates.
So expected size is 1:
- existing waypoint with original name and coordinates.
main/src/androidTest/java/cgeo/geocaching/models/GeocacheTest.java