public void NewMessagesHaveDefaultDomain() { TestMessage message = new TestMessage(); Assert.IsNotNull(message.MessageDomain, "message.MessageDomain != null"); }
public void IsDecoratorReturnsFalseForNormalMessage() { TestMessage message = new TestMessage(Array.Empty <Message>()); Assert.IsFalse(MessageDecorator.IsDecorated(message), "MessageDecorator.IsDecorated(message)"); }