* @param messages
* messages expected to be rendered
*/
public void assertFeedback(String path, String[] messages)
{
final FeedbackPanel fbp = (FeedbackPanel)getComponentFromLastRenderedPage(path);
final IModel<List<FeedbackMessage>> model = fbp.getFeedbackMessagesModel();
final List<FeedbackMessage> renderedMessages = model.getObject();
if (renderedMessages == null)
{
fail("feedback panel at path [" + path + "] returned null messages");
}