//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.Test.Messaging.Reflection { using System; using DotNetOpenAuth.Messaging.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class MessageDescriptionTests : MessagingTestBase { [TestMethod, ExpectedException(typeof(ArgumentNullException))] public void GetNull() { MessageDescription.Get(null); } [TestMethod, ExpectedException(typeof(ArgumentException))] public void GetNonMessageType() { MessageDescription.Get(typeof(string)); } } }