Choose a topic to test your knowledge and improve your ANT skills
Mocks are Trojan horses because they replace real ___________ from the inside, without the calling classes being aware of it.
When weβre talking about mock objects, a/an _________ is a feature built into the mock that verifies whether the external class calling this mock has the correct behavior.
EasyMock relies heavily on the __________import feature of Java.
To use the createMock method of EasyMock we need to import ___________
__________ method creates a mock object that implements the given interface, order checking is enabled by default.
__________ is used for the creation of a mock object, with the specification of it being of the requested type, which has implementations of the given interface or extends the given class.
__________________ creates a mock object, of the requested type and name which are passed, which also has implementations of the given interface or extends the given class.
_____________ creates a mock object that implements the given interface with the specification is that order checking is disabled by default.
createMock(String name, Class<T> toMock) throws _________________ exception.
________________ creates a mock builder allowing to create a partial mock for the given class or interface.
The ____________ interface is used in the creation of partial mocks with EasyMock. a) IMockBuilder<T> b) IMocker<T> c) IBuilder<T>expect(T value) d) MockBuilder<T>
____________ creates a control of the requested type.
_____________ returns the expectation setter for the last expected invocation in the current thread.
The _______________ interface decides whether an actual argument is accepted.
. The __________ interface allows setting expectations for an associated expected invocation.
____________ function expect the last invocation any times.
_____________ sets stub behavior for the expected invocation.
_______________ expect the last invocation between min and max times.
5. ____________ expect the last invocation a specified number of times.
_____________ sets a stub object that will be used for the calculation of the answer for the expected invocation.
_______________ sets a stub object implementing the same interface as the mock.
____________ records a call but returns nothing.
_____________ expects the last invocation once.
______________ sets a return value that will be returned for the expected invocation.