private void assertWaypointsParsed(final Geocache cache, final String note, final List<Waypoint> expectedWaypoints) {
        cache.setPersonalNote(note);
        cache.addCacheArtefactsFromNotes();
        final List<Waypoint> waypoints = cache.getWaypoints();
        assertThat(waypoints).isNotNull();
        assertThat(waypoints).hasSize(expectedWaypoints.size());

        final ListIterator<Waypoint> expectedWpIterator = expectedWaypoints.listIterator();
        for (int i = 0; i < expectedWaypoints.size(); i++) {
            final Waypoint waypoint = waypoints.get(i);
            final Waypoint expectedWaypoint = expectedWpIterator.next();
            assertThat(waypoint.getCoords()).isEqualTo(expectedWaypoint.getCoords());
            final String wpNote = expectedWaypoint.getUserNote();
            String wpName = expectedWaypoint.getName();
            if (wpName == null || wpName.isEmpty()) {
                wpName = CgeoApplication.getInstance().getString(R.string.cache_personal_note) + " " + (i + 1);
            }
            assertThat(waypoint.getName()).isEqualTo(wpName);
            assertThat(waypoint.getUserNote()).isEqualTo(wpNote);
        }
    }
Waypoint with empty coordinates exist. Update waypointlist from note.
The waypoint has prefix which does not exist, but name of existing waypoint.
So expected size is 2:
- existing waypoint unchanged
- new waypoint with prefix is added.
main/src/androidTest/java/cgeo/geocaching/models/GeocacheTest.java