how to write unit tests to internal classes ???
Not that I'd recommend it, but you can also use the InternalsVisibleToAttribute.