Hi folks,
I recently tried Isolate.Verify.WasNotCalled() with a method in my system under test. Naturally, it failed because this only works on methods on fakes. Is there some way I can verify if a particular method in my system under test is or is not called?
For instance, I call sut.MyMethod(). Inside MyMethod, I have a conditional: if (foo > 5) { OtherMethod; }. OtherMethod is another method in the system under test. How do I verify that I got inside that conditional or did not get inside that conditional when this is not a method on a fake?
Thanks!