public static InputStream getResourceStream(@RawRes final int resourceId) {
        final Resources res = InstrumentationRegistry.getInstrumentation().getContext().getResources();
        return res.openRawResource(resourceId);
    }
generates 'count' caches in the database, starting with 'orig' and associating it with given listIds
main/src/androidTest/java/cgeo/geocaching/test/CgeoTestUtils.java