private static Geocache createDummyCache(final int idx) {
        final Geocache cache = new Geocache();
        final long current = System.currentTimeMillis();
        final Geopoint coords = new Geopoint(48 + (idx / 100f), 11 + (idx / 100f));
        final Set<Integer> lists = new HashSet<>();
        lists.add(StoredList.STANDARD_LIST_ID);

        cache.setGeocode(getArtificialGeocode(idx));
        cache.setGuid("none");
        cache.setCacheId("none");
        cache.setCoords(coords);
        cache.setLists(lists);

        cache.setDetailed(true);
        cache.setDetailedUpdate(current);
        cache.setVisitedDate(current);
        cache.setType(CacheType.TRADITIONAL);
        cache.setName("Fake Cache No " + idx);
        cache.setOwnerDisplayName("TestCase");
        cache.setOwnerUserId("none");
        cache.setHidden(new Date());
        cache.setHint("no hint");
        cache.setSize(CacheSize.REGULAR);
        cache.setDifficulty(2f);
        cache.setTerrain(2f);
        cache.setLocation("on earth");
        cache.setDistance(500f);
        cache.setDirection(0f);
        cache.setShortDescription("A short description");
        cache.setDescription("A long description");
        cache.setPersonalNote("My Note");

        return cache;

//        Possible other values to set:
//
//        values.put("reliable_latlon", cache.isReliableLatLon() ? 1 : 0);
//        values.put("shortdesc", cache.getShortDescription());
//        values.put("personal_note", cache.getPersonalNote());
//        values.put("description", cache.getDescription());
//        values.put("favourite_cnt", cache.getFavoritePoints());
//        values.put("rating", cache.getRating());
//        values.put("votes", cache.getVotes());
//        values.put("myvote", cache.getMyVote());
//        values.put("disabled", cache.isDisabled() ? 1 : 0);
//        values.put("archived", cache.isArchived() ? 1 : 0);
//        values.put("members", cache.isPremiumMembersOnly() ? 1 : 0);
//        values.put("found", cache.isFound() ? 1 : 0);
//        values.put("favourite", cache.isFavorite() ? 1 : 0);
//        values.put("inventoryunknown", cache.getInventoryItems());
//        values.put("onWatchlist", cache.isOnWatchlist() ? 1 : 0);
//        values.put("coordsChanged", cache.hasUserModifiedCoords() ? 1 : 0);
//        values.put("finalDefined", cache.hasFinalDefined() ? 1 : 0);
//        values.put("logPasswordRequired", cache.isLogPasswordRequired() ? 1 : 0);
//        values.put("watchlistCount", cache.getWatchlistCount());
//        values.put("preventWaypointsFromNote", cache.isPreventWaypointsFromNote() ? 1 : 0);

    }
Method creates dummy caches in the database
main/src/androidTest/java/cgeo/geocaching/storage/DataStoreTestHelpers.java