entity framework - Testing internal/closed/sealed System.Data bits. TypeMock or Decorators or xxxxxx? -
I am writing some code which is very tight with system.Data (such as DBDataCord and many internal and sealed categories inside Integrates ObjectStateEntry) for an EntityFramework project I am working on Of course, the pieces trying to duplicate these things fall.
I still need to test these items and AFAIK has two options:
-
Buying
-
To create your own fake subclass of these objects using decorative patterns.
Decorative "cheap" and easy option Are there any third or fourth option to duplicate these items?
Comments
Post a Comment