TranslationBundle extends ListResourceBundle { public String getLang() { return this.lang; } TranslationBundle( String lang ); String getLang(); static String resolve( String lang ); static final String DETAILS_SEPARATOR; static final String EN; static final String FR; }
@Test public void testConstructor() { TranslationBundle tb = new TranslationBundle( "martian" ); Assert.assertEquals( TranslationBundle.EN, tb.getLang()); }