InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which package contains interfaces that define jMock’s Domain Specific Embedded Language?(a) org.jmock(b) org.jmock.syntax(c) org.jmock.lib(d) org.jmock.integration.junit3This question was posed to me in my homework.I want to ask this question from Dependency Management with Ivy topic in portion Running JUnit Tests from Ant of JUnit |
|
Answer» Correct ANSWER is (b) org.jmock.syntax |
|
| 52. |
EasyMock relies heavily on the __________import feature of Java.(a) Dynamic(b) Static(c) Class(d) ObjectI have been asked this question in my homework.My question is based upon Ant topic in chapter Running JUnit Tests from Ant of JUnit |
|
Answer» The CORRECT OPTION is (b) Static |
|
| 53. |
___________ is a ThreadingPolicy that makes the Mockery thread-safe and helps tests synchronize with background threads.(a) Blitzer(b) DeterministicExecutor(c) DeterministicScheduler(d) SynchroniserThe question was asked in an interview for job.Question is from Dependency Management with Ivy in division Running JUnit Tests from Ant of JUnit |
|
Answer» The correct choice is (d) SYNCHRONISER |
|
| 54. |
_____________ returns true if this executor has been shut down.(a) isShutdown(b) isTerminated(c) submit(Runnable task, T result)(d) invokeAll()The question was asked by my college director while I was bunking the class.Question is from Batching Tests in section Running JUnit Tests from Ant of JUnit |
|
Answer» Correct CHOICE is (a) isShutdown |
|