| TestUtil Methods |
The TestUtil type exposes the following members.
| Name | Description | |
|---|---|---|
| AppendMessage(Event, SchemaElementDefinition) |
Creates a new message and appends it to the specified
Event with default MessageProperties.
| |
| AppendMessage(Event, SchemaElementDefinition, MessageProperties) |
Creates a new message and appends it to the specified
Event.
| |
| CreateEvent |
Creates and returns an Event to be used for testing
with the specified EventEventType. The returned
Event cannot be used for publishing. The behavior is
undefined if EventFormatter is used with the returned
Event.
| |
| CreateTopic |
Creates a valid Topic with the specified
Service to support testing publishers.
The expected use case is to support returning a custom Topic while mocking GetTopic(Message) methods. | |
| DeserializeService(Stream) |
Creates a Service from the specified
stream.
| |
| DeserializeService(String) |
Creates a Service from the specified
xml.
| |
| GetAdminMessageDefinition |
Gets the definition for an admin message of the specified
messageName.
|