assertSame(context, support.getOrCreateContext(request, new Locale("de", "")));
assertSame(context, support.getContext(new TestPageContext(request)));
}
public void testFindPanelConfig() {
PanelConfig foo = support.findPanelConfig("foo", new Locale("", ""));
assertNotNull(foo);
PanelConfig bar = support.findPanelConfig("bar", new Locale("", ""));
assertNotNull(bar);
PanelConfig foo_de = support.findPanelConfig("foo", new Locale("de", ""));
assertNotNull(foo_de);
PanelConfig bar_de = support.findPanelConfig("bar", new Locale("de", ""));
assertNotNull(bar_de);
assertNotSame(foo, foo_de);
assertSame(bar, bar_de);
}