Legacy Code to Testable Code #6: Add Overload

The post, somewhat overloaded, now appears on the Everyday Unit Testing site.

Check it out!

 

Share Button

2 comments on “Legacy Code to Testable Code #6: Add Overload”

  1. Gil Zilberfeld Reply

    Danny,

    I think that static classes, with static methods and no state, have gotten a bad rap. They are easy to test as is.

    Otherwise, it’s just an example, you can create an instance if you like 🙂

    Gil

Leave a Reply

%d bloggers like this: