// transform casePlanModel
CmmnActivity newActivity = handler.handleElement(casePlanModel, context);
context.setParent(newActivity);
SentryHandler sentryHandler = new SentryHandler();
// transform first Sentry
CmmnSentryDeclaration firstSentryDeclaration = sentryHandler.handleElement(sentry1, context);
// transform second Sentry
CmmnSentryDeclaration secondSentryDeclaration = sentryHandler.handleElement(sentry2, context);
// when
handler.initializeExitCriterias(casePlanModel, newActivity, context);
// then