1.

__________ Hamcrest matcher tests for null values.(a) isNull(b) nullValue(c) isNullValue(d) isNullableThis question was addressed to me in class test.The origin of the question is Need for Unit Tests topic in division Software Testing Principles of JUnit

Answer»

Correct answer is (b) nullValue

The EXPLANATION: The nullValue FUNCTION is defined to DETECT null valued OBJECTS.



Discussion

No Comment Found

Related InterviewSolutions