public static Uri getResourceURI(@AnyRes final int resId) {
        final Resources resources = InstrumentationRegistry.getInstrumentation().getContext().getResources();
        return Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + resources.getResourcePackageName(resId) + '/' + resources.getResourceTypeName(resId) + '/' + resources.getResourceEntryName(resId));
    }
generates 'count' caches in the database, starting with 'orig' and associating it with given listIds
main/src/androidTest/java/cgeo/geocaching/test/CgeoTestUtils.java