Example #1
0
 public void MocksAreSingletons(Mock<IA> mock1, Mock<IA> mock2)
 {
     // Assert
       mock1.Should().BeSameAs(mock2);
 }
Example #2
0
 public void MockType(Mock<IA> mock)
 {
     // Assert
       mock.Should().BeOfType<Mock<IA>>();
 }