Direction: Choose the correct option
Q1.
What is JUnit?
Direction: Choose the correct option
Q2.
What is Mockito?
Direction: Choose the correct option
Q3.
Which annotation is used to create a mock object in Mockito?
Direction: Choose the correct option
Q4.
What does @InjectMocks do?
Direction: Choose the correct option
Q5.
How do you verify a method was called on a mock?
Direction: Choose the correct option
Q6.
What is the purpose of when().thenReturn() in Mockito?
Direction: Choose the correct option
Q7.
Which annotation is used for Spring Boot tests?
Direction: Choose the correct option
Q8.
What does @WebMvcTest do?
Direction: Choose the correct option
Q9.
How do you mock a bean in a Spring test?
Direction: Choose the correct option
Q10.
What is the use of @Test annotation?
