• Tutorials
  • Courses
  • Tracks

Question 5

Last Updated :
Discuss
Comments

Which statement is TRUE about Mockito and JUnit integration?

Mockito replaces JUnit entirely

Mockito is used for mocking dependencies, and JUnit runs the tests

JUnit mocks dependencies, and Mockito runs the tests

Mockito can only be used with JUnit 4

Share your thoughts in the comments