Karl Gjertsen

Architect, Developer, Speaker, Bad Golfer,
Raygun brand ambassador and creator of Infiniforms

Monthly Archives: July 2015

Unit testing internal methods

TDD means that we do not write any code without a test, then we move code into internal, private or protected methods as we refactor. But what if we are writing a method that is to be used by other developers in our development team and it is meant to be an internal class? What happens if we are not…