Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. The most important point to consider when writing a mock is that it shouldn't have any __________.
  2. A.
    Redundancy
    B.
    Abstraction
    C.
    Matchers
    D.
    Business Logic

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Mocks must be a dumb object that does only what the test tells it to do.


Be The First To Comment