@Test
    public void testShowDistanceCircleNotForArchivedCaches() {
        final Geocache cache = new Geocache();
        cache.setGeocode("GC12345");
        cache.setArchived(true);

        cache.setType(CacheType.TRADITIONAL);
        assertThat(cache.applyDistanceRule()).as("don't show for archived traditional").isFalse();

        cache.setType(CacheType.USER_DEFINED);
        assertThat(cache.applyDistanceRule()).as("don't show for archived user-defined").isFalse();

        cache.setType(CacheType.MULTI);
        assertThat(cache.applyDistanceRule()).as("don't show for archived multi").isFalse();

        cache.setType(CacheType.MYSTERY);
        assertThat(cache.applyDistanceRule()).as("don't show for archived mystery").isFalse();


        cache.setUserModifiedCoords(true);

        cache.setType(CacheType.MULTI);
        assertThat(cache.applyDistanceRule()).as("don't show for archived multi with user-modified coords").isFalse();

        cache.setType(CacheType.MYSTERY);
        assertThat(cache.applyDistanceRule()).as("don't show for archived mystery with user-modified coords").isFalse();
    }
distance circle must not be shown for archived caches.
main/src/androidTest/java/cgeo/geocaching/models/GeocacheTest.java