@Test(expected = IllegalArgumentException.class)
 public void testInvalidLanguageIllegalArgumentException() {
   Languages.getInstance("thereIsNoSuchLanguage");
 }
 @Test(expected = IllegalStateException.class)
 public void testInvalidLangIllegalStateException() {
   Lang.loadFromResource("thisIsAMadeUpResourceName", Languages.getInstance(NameType.GENERIC));
 }