Message boundary event on connector

Hi All,

I am facing issue in writing junit for workflow where connector with message boundary event, i wanted to know is it write approch to use message boundary event or it is not possible.
As I wrote junit for this it doesn’t work as expected, says cannot correlate