Question 19


70-486 Skills Measured >> 4.3 Troubleshoot and Debug Web Applications >>

Question

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

Answer:

C