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:

  1. Buying

  2. 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

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -