assertNotNull(messageFactory_.newMessage(testStructured_));
}
public void testStructuredToAny() throws Exception
{
Message _notifyEvent = messageFactory_.newMessage(testStructured_);
assertNotNull(_notifyEvent);
Any _any = _notifyEvent.toAny();
StructuredEvent _event = StructuredEventHelper.extract(_any);
assertNotNull(_event);
assertEquals("domain", _event.header.fixed_header.event_type.domain_name);
assertEquals("type", _event.header.fixed_header.event_type.type_name);
}