You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain,
named ABC.com.
You are in the process of creating unit tests that makes use of sealed classes. You want to make
sure that dependencies in the unit tests are suitably created, maintained, and injected.
You want to configure the use of a suitable isolation method.
Which of the following actions should you take?
A.
You should consider making use of counterfoil type isolation methods.
B.
You should consider making use of remnant type isolation methods.
C.
You should consider making use of shim type isolation methods.
D.
You should consider making use of stump type isolation methods.
Ans : C
https://msdn.microsoft.com/en-us/library/hh549176.aspx
We like to honor many other online web pages around the web, even when they arent linked to us, by linking to them. Underneath are some webpages really worth checking out.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0fbed336-aaf7-49aa-b477-369cfdcf87e5/mocksstubsshims-differences?forum=vsunittest
https://msdn.microsoft.com/en-us/library/hh549175.aspx
http://www.richonsoftware.com/post/2012/04/05/using-stubs-and-shim-to-test-with-microsoft-fakes-in-visual-studio-11.aspx