public void ToStringGetsDescription()
        {
            var description = "test description";
            var message = "test message";
            var ex = new InvalidUserException(message, description);

            Assert.AreEqual(description, ex.ToString());
        }
        public void GetObjectData()
        {
            var description = "test description";
            var message = "test message";
            var ex = new InvalidUserException(message, description);

            var info = new SerializationInfo(typeof(InvalidInvitationException), new FormatterConverter());
            var context = new StreamingContext();

            ex.GetObjectData(info, context);

            Assert.AreEqual(message, info.GetString("Message"));
        }