public void MessageHandlerMetadata_metadata_valid()
 {
     var metadata = new Dictionary<string, object> { { nameof(MessageHandlerMetadata.MessageType), typeof(string) } };
     var instance = new MessageHandlerMetadata(metadata);
     var messageType = instance.MessageType;
     Assert.AreEqual(messageType, typeof(string));
 }
 public void MessageHandlerMetadata_metadata_type()
 {
     var instance = new MessageHandlerMetadata(typeof(int));
     var result = instance.MessageType;
     Assert.AreEqual(typeof(int), result);
 }
 public void MessageHandlerMetadata_metadata_null()
 {
     var instance = new MessageHandlerMetadata(null);
     var messageType = instance.MessageType;
     Assert.AreEqual(messageType, null);
 }