Monday, August 30, 2010


Recently had some issues with the method assertNotNull(object) because it doesn't help with any of the 4 principles of TDD.

  1. Specifications
  2. Feedback
  3. Regression
  4. Granularity

 I vloged my thoughts here.

Finally, here's the code I was looking at.
and check out

1 comment:

Ike Ellis said...

I agree, Llewellyn. Just do something real and the NULL exception will be raised anyway. However, I don't think it should be removed from the framework. Even if it's rare, NULL checks are needed when examining the database.