soorajmamar / moq

Automatically exported from code.google.com/p/moq
Other
1 stars 0 forks source link

Allow Setup of Attributes on your Moq'd Type #343

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be awesome if we could setup attributes on our moq'd type, thus the 
dynamically generated proxy would have this typing information so our moqs can 
be used for unit tests requiring annotations.

For example many Factory type methods will reflect on annotations to create an 
instance.  If my moq'd object could claim to have the appropriate annotations i 
can do a lot of great testing against my factory method.

Original issue reported on code.google.com by drdam...@gmail.com on 16 May 2012 at 7:04

GoogleCodeExporter commented 8 years ago
this isn't a defect but an enhancment...not sure how to change that

Original comment by drdam...@gmail.com on 16 May 2012 at 7:05

GoogleCodeExporter commented 8 years ago

Original comment by dan...@cazzulino.com on 15 Oct 2012 at 7:36