예제 #1
0
 public void MockedObjectsInDifferentContextAreSingletonsToo(IA a, DepOnInterface depOnInterface)
 {
     // Assert
       a.Should().BeSameAs(depOnInterface.A);
 }
예제 #2
0
 public void MockedInterfaceMultipleParameters(IA a, IB b)
 {
     // Assert
       a.Should().BeMock<IA>();
       b.Should().BeMock<IB>();
 }
예제 #3
0
 public void MockedObjectsAreSingletons(IA a1, IA a2)
 {
     // Assert
       a1.Should().BeSameAs(a2);
 }
예제 #4
0
 public void MockedInterface(IA a)
 {
     // Assert
       a.Should().BeMock<IA>();
 }