@Test
    public void testUpdateExistingWaypointFromNote() {
        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);
        cache.addOrChangeWaypoint(userWaypoint, false);
        saveFreshCacheToDB(cache);

        final List<Waypoint> wpList = new ArrayList<>();
        wpList.add(new Waypoint("", userWpGeopoint, "Test", "", "", WaypointType.OWN));
        wpList.add(new Waypoint("", new Geopoint("N51 13.888 E007 03.444"), "Personal note 1", "", "", WaypointType.OWN));
        wpList.add(new Waypoint("", null, "Personal note 2", "", "", WaypointType.OWN));
        assertWaypointsParsed(cache, "Test N51 13.888 E007 03.444\nTest (NO-COORD)", wpList);

        removeCacheCompletely(geocode);
    }
Waypoint with coordinates exist. Update waypointlist from note.
The first waypoint has auto generated name and coordinates.
The second waypoint has auto generated name and empty coordinates.
So expected size is 3:
- existing waypoint with original coordinates.
- new waypoint with auto generated name and coordinates.
- new waypoint with auto generated name and with empty coordinates.
main/src/androidTest/java/cgeo/geocaching/models/GeocacheTest.java