1.

___________ tests whether a JavaBean has a particular property.(a) isProperty(b) porperty(c) hasProperty(d) isPresentI have been asked this question in homework.My doubt stems from Need for Unit Tests topic in section Software Testing Principles of JUnit

Answer» RIGHT CHOICE is (c) HASPROPERTY

For explanation: The hasProperty is a core HAMCREST matcher.


Discussion

No Comment Found

Related InterviewSolutions