1.

The ____________ matcher checks if a given key is in a map.(a) hasEntry(b) hasValue(c) hasKey(d) isKeyThis question was addressed to me by my school teacher while I was bunking the class.I want to ask this question from Integration Software Testing in division Software Testing Principles of JUnit

Answer»

Right choice is (C) HASKEY

Easiest explanation: The hasKey matcher checks if the particular key is present in the MAP.



Discussion

No Comment Found

Related InterviewSolutions