Which unit test should you use?

You are developing an ASP.NET MVC web application that includes the following method.

You need to test the GoldMined method.
Which unit test should you use?

A. Option A
B. Option B
C. Option C
D. Option D

microsoft-exams

2 thoughts on “Which unit test should you use?

  1. The answer here seems to be C and not D. For example I cannot find the variable “currentGold” in answer D. Please correct me if I’m wrong

    1. Ok, sorry I see the problem at answer C. I understand why D is the correct answer (still missing the variable but is ok). Sorry for confusion.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.