1.

__________________ tests whether a given string equals another one, ignoring the case.(a) stringEqual(b) equalToIgnoringCase(c) ignoringCaseEqual(d) equalToCaseThis question was addressed to me in class test.This key question is from Need for Unit Tests in section Software Testing Principles of JUnit

Answer»

Correct option is (B) EQUALTOIGNORINGCASE

Explanation: equalToIgnoringCase is a CORE Hamcrest Matcher which tests given string EQUALITY.



Discussion

No Comment Found

Related InterviewSolutions