@Test public void testGetNull() throws Exception { assertEquals("Some text", new Immutable18NModel(new NonI18NModel("Some text")).getValue(null)); }
@Override public String getValue(final String locale) { return this.i18NModel.getValue(locale); }
Immutable18NModel implements I18NModel { @Override public String getValue(final String locale) { return this.i18NModel.getValue(locale); } }
Immutable18NModel implements I18NModel { @Override public String getValue(final String locale) { return this.i18NModel.getValue(locale); } Immutable18NModel(final I18NModel i18NModel); }
Immutable18NModel implements I18NModel { @Override public String getValue(final String locale) { return this.i18NModel.getValue(locale); } Immutable18NModel(final I18NModel i18NModel); @Override String getValue(final String locale); @Override void putValue(final String locale, final String value); @Override Map<String, String> getAllValues(); @Override I18NModel copy(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
Immutable18NModel implements I18NModel { @Override public String getValue(final String locale) { return this.i18NModel.getValue(locale); } Immutable18NModel(final I18NModel i18NModel); @Override String getValue(final String locale); @Override void putValue(final String locale, final String value); @Override Map<String, String> getAllValues(); @Override I18NModel copy(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }