Index: trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java	(revision 16100)
+++ trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java	(revision 16109)
@@ -4,4 +4,5 @@
 import static java.util.Collections.singleton;
 import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
@@ -90,3 +91,13 @@
         assertTrue(error, error.contains(": Invalid token=EOF at (line no=3,"));
     }
+
+    /**
+     * Unit test of {@link Territories#getCustomTags}
+     */
+    @Test
+    public void testGetCustomTags() {
+        assertNull(Territories.getCustomTags(null));
+        assertNull(Territories.getCustomTags("foo"));
+        assertEquals("arab", Territories.getCustomTags("BH").get("ldml:nu:ar"));
+    }
 }
