public void MockOf()
        {
            var qi = Mock.Of<IQuoteInvitation>();
            qi.IsExpired = true;

            var sut = new QuoteInvitationController(qi);

            Assert.IsTrue(sut.QuoteInvitation.IsExpired);
        }
        public void MockGet()
        {
            var qi = Mock.Of<IQuoteInvitation>();
              qi.IsExpired = true;

              Mock.Get(qi).Setup(m => m.IsExpired).Returns(false);

            var sut = new QuoteInvitationController(qi);

            Assert.IsFalse(sut.QuoteInvitation.IsExpired);
        }