I\'ve been writing some providers in c# that inherit from the providerbase class. I\'ve found that it\'s hard to write tests that use the providers as most mocking framework
RhinoMocks or Moq will create test doubles for classes as well as for interfaces. The type has to have virtual methods or be abstract though. The Typemock isolator gets around this.
I'd suggest that the objects you want to mock probably should be abstract (dependency inversion principle).