1.

________ method reports if the Imposteriser is able to imposterise a given type.(a) canImposterise(Class type)(b) Imposterise(Class type)(c) imposterise(Invokable mockObject, Class mockedType, Class… ancilliaryTypes)(d) imposter()This question was addressed to me during an interview.Enquiry is from Maven Introduction topic in chapter Running JUnit Tests from Maven2 of JUnit

Answer»

Right answer is (a) canImposterise(Class> type)

The EXPLANATION: canImposterise(Class> type) RETURNS true if this IMPOSTERISER can imposterise type, false otherwise.



Discussion

No Comment Found

Related InterviewSolutions