package cgeo.geocaching.connector.oc; import cgeo.CGeoTestCase; public class OkapiClientTest extends CGeoTestCase { public static void testGetOCCache() { // final String geoCode = "OU0331"; // Geocache cache = OkapiClient.getCache(geoCode); // assertNotNull(cache); // assertEquals(geoCode, cache.getGeocode()); // assertEquals("Oshkosh Municipal Tank", cache.getName()); // assertTrue(cache.isDetailed()); // // cache should be stored to DB (to listID 0) when loaded above // cache = cgData.loadCache(geoCode, LoadFlags.LOAD_ALL_DB_ONLY); // assertNotNull(cache); // assertEquals(geoCode, cache.getGeocode()); // assertEquals("Oshkosh Municipal Tank", cache.getName()); // assertTrue(cache.isDetailed()); } }