*
*/
public void testMultiLevelEmbeddedComponentLoadFromComponent()
{
DummyPage p = new DummyPage();
Panel panel = new EmptyPanel("panel");
p.add(panel);
DummyComponent c = new DummyComponent("hello", tester.getApplication());
panel.add(c);
IStringResourceLoader loader = new ComponentStringResourceLoader();
Assert.assertEquals("Valid resourse string should be found", "Component string",
loader.loadStringResource(c.getClass(), "component.string", Locale.getDefault(), null,
null));
}