What is @injectmock?
Answer / Ashish Kumar Kushwaha
@injectMock is not a standard annotation in EJB. However, it may be associated with Mockito, a popular library used for unit testing in Java. The @InjectMock annotation helps create mocks for dependencies automatically within Mockito-powered tests.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does ejb work in java?
Where a bean can be used ?
Is it legal to have static initializer blocks in ejb?
What are transaction isolation levels in ejb?
Which is more beneficial: CMP or BMP?
Differentiate “find a method” from “select method” in EJB ?
What is entity bean?
Can Container managed Bean-Managed Persistence ?
How many ejb objects are created for a bean?
What are the callback annotations for the stateless bean?
Does spring use ejb?
what is mean by com/Dcom ? Please answer me. Advance thanks.