What I often do to test protected methods is to create a subclass that implementes a public wrapper around the protected method:
A great idea!
I'll just to that :)
In reply to Re^2: How deep should unit tests go?
by gargle
in thread How deep should unit tests go?
by gargle
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |