context.putContext(Integer.class, "foo");
assertEquals("foo", context.getContext(Integer.class));
}
public void testLocale() {
ELContext context = new TestContext();
assertNull(context.getLocale());
context.setLocale(Locale.ENGLISH);
assertEquals(Locale.ENGLISH, context.getLocale());
}