as usual, I am using MSTEST that call fake private method
myAccessor target = new myAccessor()
using (RecordExpectations recorder = RecorderManager.StartRecording())
{
dtMax = target.InUTCTime(dtMax, 1, 1, 1);
recorder.Return(new DateTime(1999, 10, 1, 19, 18, 02));
}
using (RecordExpectations recorder = RecorderManager.StartRecording())
{
dtMax = target.InUTCTime1(dtMax, 1, 1, 1);
recorder.Return(new DateTime(1999, 10, 1, 19, 18, 02));
}
In one of the test cases, both methods will be called, in another case, only 1 method will be called. I want to asset something like fake.verify.notcalled. How do I do that?