MessageValue { String get(String key) { Assertion.on("key").mustNotBeEmpty(key); if (props == null) { initialize(null); } return props.getProperty(key); }  void initialize(String lang); String getAutoGeneratedTODOMessage(); String getExpectedExceptionNotThrownMessage(); String getExempliGratia();  }
@Test public void get_A$String_StringIsNull() throws Exception { MessageValue target = new MessageValue(); String key = null; try { target.get(key); fail(); } catch (JUnitHelperCoreException e) { } }
@Test public void get_A$String_StringIsEmpty() throws Exception { MessageValue target = new MessageValue(); String key = ""; try { target.get(key); fail(); } catch (JUnitHelperCoreException e) { } }