<NME> CryptUtilsTest.java
<BEF> package cgeo.geocaching.utils;

import org.junit.Test;
import static org.assertj.core.api.Java6Assertions.assertThat;

public class CryptUtilsTest {
    @Test
    public void testROT13() {
        assertThat(CryptUtils.rot13("")).isEqualTo("");
        assertThat(CryptUtils.rot13((String) null)).isEqualTo("");
        assertThat(CryptUtils.rot13("Cache hint")).isEqualTo("Pnpur uvag");
        assertThat(CryptUtils.rot13("Cache [plain] hint")).isEqualTo("Pnpur [plain] uvag");
        assertThat(CryptUtils.rot13("[all plain]")).isEqualTo("[all plain]");
        assertThat(CryptUtils.rot13("123")).isEqualTo("123");
    }

    @Test
        assertEquals(61731, GCConstants.gccodeToGCId("GCF123"));
    }

    public static void testIssue1902() throws Exception {
        assertEquals("ƖƖlƖƖƖƖ", CryptUtils.rot13("ƖƖyƖƖƖƖ"));
    }
}
        // expected value taken from debugger. should assure every developer uses UTF-8
        assertThat(CryptUtils.md5("äöü")).isEqualTo("a7f4e3ec08f09be2ef7ecb4eea5f8981");
    }
}

<MSG> code cleanup

* rename several lower case classes
* more strict visibility modifiers
* Lint warnings
* style warnings
<DFF> @@ -18,7 +18,7 @@ public class CryptUtilsTest extends TestCase {
         assertEquals(61731, GCConstants.gccodeToGCId("GCF123"));
     }
 
-    public static void testIssue1902() throws Exception {
+    public static void testIssue1902() {
         assertEquals("ƖƖlƖƖƖƖ", CryptUtils.rot13("ƖƖyƖƖƖƖ"));
     }
 }

code cleanup