@@ -0,0 +1,572 @@
+package org.wikidata.wdtk.datamodel.implementation;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0Aimport org.wikidata.wdtk.datamodel.interfaces.WikimediaLanguageCodes;%0A%0Apublic class WikimediaLanguageCodesTest %7B%0A%0A%09@Test%0A%09public void getSomeLanguageCodes() %7B%0A%09%09assertEquals(%22gsw%22, WikimediaLanguageCodes.getLanguageCode(%22als%22));%0A%09%09assertEquals(%22en%22, WikimediaLanguageCodes.getLanguageCode(%22en%22));%0A%09%7D%0A%0A%09@Test(expected = IllegalArgumentException.class)%0A%09public void getUnknownLanguageCode() %7B%0A%09%09WikimediaLanguageCodes.getLanguageCode(%22unknown%22);%0A%09%7D%0A%0A%7D%0A

Test language code registry