OK, I think I understand.

However, is this behaviour that we *want* the class to have, or is it only incidental?

Consider that a unit test in many ways is a *specification* of the system. Is it a desirable attribute of the system that one can't call a method on a dynamically created type?