Monthly Archives: August 2009

Testing Private & Protected Members of a Class

In my last blog post, someone asked me you can write unit tests for a private or protected method.  I gave part of the response in a comment, but I need to give a more detailed description. Focus on the … Continue reading 

Posted in c#, Testing | 7 Comments

The TryThis method

The more I learn and use dynamic languages like JavaScript and Ruby, the more I feel the constraints placed on me by the C# compiler.  Today I needed to wrap a bunch of calls to a web service facade in … Continue reading 

Posted in c# | 11 Comments

Wiring Up Generics In Castle Windsor

I’m working with a new team that has a slightly different technology stack then I’m used to.  On most projects where I am the team lead, StructureMap is my IOC container of choice.  I’ve always thought that this was just … Continue reading 

Posted in Castle, IOC | 6 Comments