Tag: mockito


Found 33 results for 'mockito'.


1) java - Can Mockito capture arguments of a method called multiple times?
2) java - Why to use Mockito?
3) java - Mocking static methods with Mockito
4) java - How to mock a service for controller in mockito
5) java - How to verify invocations of the same mock method with the same argument that changes state between invocations in mockito?
6) java - JUnit testing an asynchronous method with Mockito
7) java - Mockito verify that a specific lambda has been passed as an argument in mock's method
8) java - Mockito not returning expected value
9) java - Mocking static methods with Mockito
10) java - Are there any ways to mock static methods using mockito?
11) java - How do I set a property on a mocked object using Mockito?
12) java - How to mock void methods with Mockito
13) java - Test Spring-Boot Repository interface methods without touching the database using Mockito
14) java - Mock private static final field using mockito or Jmockit
15) java - Making a mocked method return an argument that was passed to it
16) java - Mocking a singleton with mockito
17) java - Mockito verify order / sequence of method calls
18) java - How to verify that a specific method was not called using Mockito?
19) java - What does static imply in import static org.mockito.Mockito.*;
20) python - Testing a function call inside the function using python unittest framework
21) java - Verify method with Object argument not called using Mockito
22) java - Creating a testing rule in Mockito like "for each arg the method would return an answer based on this arg"
23) unit-testing - What is the best way to unit-test SLF4J log messages?
24) mocking - Mocking for integration tests
25) python - Mocking a Peewe class does not return value
26) java - Autowired fields of mocked object returns null in Mockito
27) java - How to mock jdbcTemplate.query with parameters (Object[]{})
28) java - Mocking static methods with Mockito
29) java - How to mock a final class with mockito
30) python - Mocking python function based on input arguments
31) mockito - Mockito with void method
32) java - What is the difference between mocking and spying when using Mockito?
33) java - Mocking a DateFormat class in junit test