1.

___________ is a naming scheme in which the implicit name for a mock object is the last word of the mocked type’s name in lower case.(a) AssertionErrorTranslator(b) CamelCaseNamingScheme(c) JavaReflectionImposteriser(d) LastWordNamingSchemeI have been asked this question during an interview.Origin of the question is Maven Plug-ins in section Running JUnit Tests from Maven2 of JUnit

Answer»

Right option is (d) LASTWORDNAMINGSCHEME

The explanation: The LastWordNamingScheme class defines a NAMING SCHEME for MOCK objects.



Discussion

No Comment Found

Related InterviewSolutions