Example #1
0
 public void Given()
 {
     sut = A.Fake <YouCannotFakeASealedClass>();
     sut.DoSomething();
 }
Example #2
0
 public void YouWillGetAnException()
 {
     A.CallTo(() => sut.DoSomething()).MustHaveHappened(Repeated.Exactly.Once);
 }
 public void Given()
 {
     sut = A.Fake<YouCannotFakeASealedClass>();
     sut.DoSomething();
 }