* @return
* @throws javax.servlet.ServletException if there is no SequenceRegistry
*/
protected PortletTestCase getSequence(String testId) throws ServletException
{
PortletTestDriver registry = getSequenceRegistry();
if (registry == null)
{
log.info("No SequenceRegistry object found in current context");
throw new ServletException("No SequenceRegistry object found in context");
}
return registry.getTestCase(testId);
}