String fineDescription = "fine-description";
Contexts.getEventContext().set("fineDescription", fineDescription);
assert "coarse-description".equals(pages.getDescription("/action-test01a.xhtml")) :
"Expecting the wild-card description to be returned as no description was provided for the view-id";
assert fineDescription.equals(pages.renderDescription("/action-test01b.xhtml")) :
"Expecting the description for the view-id to be returned";
}
}