}
private MessageProcessPhase createNotSupportedPhase()
{
MessageProcessPhase notSupportedPhase = mock(MessageProcessPhase.class, Answers.RETURNS_DEEP_STUBS.get());
when(notSupportedPhase.supportsTemplate(any(MessageProcessTemplate.class))).thenReturn(false);
return notSupportedPhase;
}
private void processAndVerifyDefaultPhasesUsingRegistryPhases(Collection<MessageProcessPhase> phasesInRegistry) throws Exception
{