I don't think that's a valid argument. You can comment out asserts/expectations from any tests and they will of course pass.
The point is to verify send is never called at all for those event types. And that it is called for other event types. I just re-tested changing "Times(0)" to "Times(1)" and the test then fails. So the test is correct.
Alan,
I don't think that's a valid argument. You can comment out asserts/ expectations from any tests and they will of course pass.
The point is to verify send is never called at all for those event types. And that it is called for other event types. I just re-tested changing "Times(0)" to "Times(1)" and the test then fails. So the test is correct.