{
Any _wrappedStructuredEvent = getORB().create_any();
StructuredEventHelper.insert(_wrappedStructuredEvent, testStructured_);
Message _mesg = messageFactory_.newMessage(_wrappedStructuredEvent,
new IProxyConsumer()
{
public boolean getStartTimeSupported()
{
return false;
}
public boolean getStopTimeSupported()
{
return false;
}
public FilterStage getFirstStage()
{
return null;
}
});
StructuredEvent _recvd = _mesg.toStructuredEvent();
assertEquals(testStructured_.header.fixed_header.event_name,
_recvd.header.fixed_header.event_name);
assertEquals(testStructured_.remainder_of_body, _recvd.remainder_of_body);