@Test
public void testMessagesCaught() {

	TestPanel p = new TestPanel("panel");
	p.setFeedbackFor(p.label);
	startTest(p, false);
	getTester().clickLink(p.link);
	assertEquals(p.label, p.getMessage().getReporter());
	assertEquals(msg, p.getMessage().getMessage());
	assertTrue(p.getMessage().isRendered());
	getTester().assertLabel(p.label.getPageRelativePath(), "Message!");
}