1.

__________ is a naming scheme in which the implicit name for a mock object is the mocked type’s name prepend with “mock”.(a) RetroNamingScheme(b) CamelCaseNamingScheme(c) JavaReflectionImposteriser(d) LastWordNamingSchemeThis question was posed to me by my college director while I was bunking the class.Asked question is from Maven Plug-ins in chapter Running JUnit Tests from Maven2 of JUnit

Answer» CORRECT CHOICE is (a) RetroNamingScheme

Explanation: The RetroNamingScheme CLASS defines a naming SCHEME with the PREFIX of “mock” for mock objects.


Discussion

No Comment Found

Related InterviewSolutions