CSE MCQs :: JUnit MCQs
- The ____________ interface is used in the creation of partial mocks with EasyMock.
- ______________ create a new capture instance that will keep only the last captured value.
- EasyMock relies heavily on the __________import feature of Java.
- __________________ 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.
- _____________ exception is thrown while invokeAll() is interrupted while waiting.
- _______________ is used for the execution of the given tasks, returning a list of Futures holding their status and results after completion.
- Other than RejectedExecutionException, the execute(Runnable command) function can also throw which exception?
- __________ class is an Executor that executes commands on the thread that calls runPendingCommands or runUntilIdle.
- _____________ expects the last invocation once.
- ____________ expect the last invocation a specified number of times.