aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java
blob: bf271b3084c7ec33473eda4c37900bf03f8fe373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cgeo.geocaching.connector.oc;

import static org.assertj.core.api.Assertions.assertThat;

import cgeo.geocaching.connector.oc.OCCZConnector;

import junit.framework.TestCase;

public class OCCZConnectorTest extends TestCase {

    public static void testGetGeocodeFromUrl() throws Exception {
        final OCCZConnector connector = new OCCZConnector();
        assertThat(connector.getGeocodeFromUrl("http://opencaching.cz/viewcache.php?cacheid=610")).isEqualTo("OZ0262");
    }

}