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

        cache.setType(CacheType.TRADITIONAL);
        assertThat(cache.applyDistanceRule()).as("show for traditional").isTrue();

        cache.setType(CacheType.USER_DEFINED);
        assertThat(cache.applyDistanceRule()).as("show for user-defined").isTrue();

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

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

        cache.setGeocode("ZZ1234");
        cache.setType(CacheType.TRADITIONAL);
        assertThat(cache.applyDistanceRule()).as("show for Internal").isTrue();

        cache.setGeocode("OC12345");
        cache.setType(CacheType.TRADITIONAL);
        assertThat(cache.applyDistanceRule()).as("don't show for OC").isFalse();
    }
distance circle should be shown for some cache-types only for GC- and internal connector.
main/src/androidTest/java/cgeo/geocaching/models/GeocacheTest.java