Indeed, GetType is not virtual.
You can simply create two custom classes (they can be abstract too) that derive from the base and use that as the type to mock. That would give you two different GetType() values.
Sometimes writing a little bit of plain old C# works like a charm ;)
I even wonder if I should remove the entire .Protected() stuff altogether... :o)
/kzu
--
Daniel Cazzulino | Developer Lead | XML MVP | Clarius Consulting |
+1 425.329.3471