Unit Testing something that returns nothing, how to assert?
Posted
by Bas
on Stack Overflow
See other posts from Stack Overflow
or by Bas
Published on 2010-05-19T07:59:22Z
Indexed on
2010/05/19
8:10 UTC
Read the original article
Hit count: 224
How would you assert code like this? What would be the best approach to do so?
if (myProperty == 0) return;
© Stack Overflow or respective owner