public void Should_Create_Exception_With_Message()
        {
            var exception = new ConcurrentDataException(Message);

            Assert.AreEqual(exception.Message, Message);
            Assert.IsNull(exception.InnerException);
            Assert.IsNull(exception.StaleEntity);
        }
        public void Should_Create_Exception_With_Stale_Entity()
        {
            var guid = Guid.NewGuid();
            var entity = new TestItemModel { Id = guid };
            var exception = new ConcurrentDataException(entity);

            Assert.IsNotNull(exception.Message);
            Assert.IsTrue(exception.Message.Contains(guid.ToString()));
            Assert.IsTrue(exception.Message.Contains("TestItemModel"));
            Assert.AreEqual(exception.StaleEntity, entity);
            Assert.IsNull(exception.InnerException);
        }