Beispiel #1
0
 public override void Because()
 {
     mbResult1 = Catcher.Catching <NullReferenceException>().ToOption(() => myVariable.Length);
     mbResult2 = Catcher.Catching <NullReferenceException>().ToEither(() => myVariable.Length);
 }