Microsoft Exam Questions

Which isolation method should you use?

You are authoring unit tests. The unit tests must test code that consumes sealed classes. You need to create,
maintain, and inject dependencies in the unit tests. Which isolation method should you use?

A.
T4 text templates and code generation

B.
Stub types

C.
Shim types

D.
Hard-coded implementation