<NME> NetworkTest.java
<BEF> package cgeo.geocaching.network;

import junit.framework.TestCase;

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

public class NetworkTest extends TestCase {

    public static void testRfc3986URLEncode() {
        assertThat(Network.rfc3986URLEncode("*")).isEqualTo("*");
        assertThat(Network.rfc3986URLEncode("~")).isEqualTo("~");
        assertThat(Network.rfc3986URLEncode(" ")).isEqualTo("%20");
    }

}

<MSG> More complete tests for Network.rfc3986URLEncode

<DFF> @@ -1,15 +1,17 @@
 package cgeo.geocaching.network;
 
-import junit.framework.TestCase;
-
 import static org.assertj.core.api.Assertions.assertThat;
 
+import junit.framework.TestCase;
+
 public class NetworkTest extends TestCase {
 
     public static void testRfc3986URLEncode() {
         assertThat(Network.rfc3986URLEncode("*")).isEqualTo("*");
         assertThat(Network.rfc3986URLEncode("~")).isEqualTo("~");
         assertThat(Network.rfc3986URLEncode(" ")).isEqualTo("%20");
+        assertThat(Network.rfc3986URLEncode("foo @+%/")).isEqualTo("foo%20%40%2B%25%2F");
+        assertThat(Network.rfc3986URLEncode("sales and marketing/Miami")).isEqualTo("sales%20and%20marketing%2FMiami");
     }
 
 }

More complete tests for Network.rfc3986URLEncode