@Test public void shouldPutValueIntoTheContextUnderGivenName() { DefaultContext context = new DefaultContext(); context.with("TEST", "A"); assertThat(context).hasValue("TEST", "A"); }
public final DefaultContext with(String key, Object value) { return with(key, value, false); }
DefaultContext extends BaseParamContext { public final DefaultContext with(String key, Object value) { return with(key, value, false); } }
DefaultContext extends BaseParamContext { public final DefaultContext with(String key, Object value) { return with(key, value, false); } DefaultContext(Object... args);  DefaultContext(); }
DefaultContext extends BaseParamContext { public final DefaultContext with(String key, Object value) { return with(key, value, false); } DefaultContext(Object... args);  DefaultContext(); final DefaultContext with(String key, Object value); final DefaultContext with(String key, Object value, boolean allowOverwrite); final DefaultContext set(Object value); Object get(String key); @SuppressWarnings("unchecked") T get(String key, Class<T> targetClass); String getString(String key); @SuppressWarnings("unchecked") T get(Class<T> clazz); void setLocale(Locale locale); DefaultContext withLevelValues(String... levelValues); DefaultContext withLevelValues(Object... levelValues); @Override String toString(); }
DefaultContext extends BaseParamContext { public final DefaultContext with(String key, Object value) { return with(key, value, false); } DefaultContext(Object... args);  DefaultContext(); final DefaultContext with(String key, Object value); final DefaultContext with(String key, Object value, boolean allowOverwrite); final DefaultContext set(Object value); Object get(String key); @SuppressWarnings("unchecked") T get(String key, Class<T> targetClass); String getString(String key); @SuppressWarnings("unchecked") T get(Class<T> clazz); void setLocale(Locale locale); DefaultContext withLevelValues(String... levelValues); DefaultContext withLevelValues(Object... levelValues); @Override String toString();  }