Example #1
0
        public static void AssertThatTest()
        {
            Mock <object>          target    = new Mock <object>();
            MockAssertion <object> assertion = AssertThat(target);

            Assert.NotNull(assertion);
            Assert.Same(target, assertion.Target);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="MockAssertionTests"/> class.
 /// </summary>
 public MockAssertionTests()
 {
     _target    = new Mock <IMockable>();
     _assertion = new MockAssertion <IMockable>(_target);
 }