MCQs
The RetroNamingScheme class defines a naming scheme with the prefix of "mock for mock objects.
invoke(Invocation invocation) returns the result of the invocation, if not throwing an exception.
VerifyingTestCase is a class that verifies post conditions.
The ActionSequence methods takes as a parameter the invocation to perform.
The DoAllAction class implements the Action interface.
b is assigned 10 and after that its value is added with 5 and then saved in a, so a will be 15.
org.jmock.lib.script is the package containing plugins to write custom actions by scripting.
The ResolvePropertyMap class is used to resolve properties in a map.
ASCII value of character 'a' is 65 and ASCII value of string "a is 97.
Output: 65,97
The NullReturn class is the apache ant class representation of Null.