10 Answered Questions

[SOLVED] Mocking static methods with Mockito

2 Answered Questions

[SOLVED] How do Mockito matchers work?

  • 2014-04-02 20:37:16
  • Jeff Bowman supports Monica
  • 114624 View
  • 112 Score
  • 2 Answer
  • Tags:   java mocking mockito

23 Answered Questions

[SOLVED] Injecting Mockito mocks into a Spring bean

10 Answered Questions

[SOLVED] How to mock void methods with Mockito

1 Answered Questions

[SOLVED] PowerMockito mock single static method and return object

21 Answered Questions

[SOLVED] How to mock a final class with mockito

  • 2013-01-12 11:23:01
  • buttowski
  • 213814 View
  • 172 Score
  • 21 Answer
  • Tags:   java junit mockito

5 Answered Questions

[SOLVED] Use Mockito to mock some methods but not others

  • 2013-02-20 00:59:08
  • Victor Grazi
  • 366483 View
  • 356 Score
  • 5 Answer
  • Tags:   java mocking mockito

5 Answered Questions

[SOLVED] How to mock private method for testing using PowerMock?

7 Answered Questions

[SOLVED] Mockito How to mock only the call of a method of the superclass

  • 2010-08-12 12:50:20
  • mada
  • 97048 View
  • 86 Score
  • 7 Answer
  • Tags:   mockito

11 Answered Questions

[SOLVED] Using Mockito to test abstract classes

6 Answered Questions

[SOLVED] Mockito - difference between doReturn() and when()

11 Answered Questions

[SOLVED] Difference between @Mock and @InjectMocks

5 Answered Questions

[SOLVED] Why doesn't Mockito mock static methods?

9 Answered Questions

[SOLVED] How to properly match varargs in Mockito

2 Answered Questions

[SOLVED] @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this)

  • 2012-05-29 20:34:46
  • OceanBlue
  • 77449 View
  • 98 Score
  • 2 Answer
  • Tags:   java junit4 mockito

6 Answered Questions

[SOLVED] Test class with a new() call in it with Mockito

7 Answered Questions

[SOLVED] Final method mocking

10 Answered Questions

[SOLVED] Making a mocked method return an argument that was passed to it

  • 2010-04-21 16:11:41
  • Abhijeet Kashnia
  • 320432 View
  • 628 Score
  • 10 Answer
  • Tags:   java mockito

8 Answered Questions

7 Answered Questions

5 Answered Questions

[SOLVED] Initialising mock objects - MockIto

  • 2013-03-19 08:49:22
  • VinayVeluri
  • 172222 View
  • 108 Score
  • 5 Answer
  • Tags:   java junit mockito

9 Answered Questions

[SOLVED] Mockito: Trying to spy on method is calling the original method

  • 2012-07-23 20:35:02
  • Dave
  • 196364 View
  • 318 Score
  • 9 Answer
  • Tags:   java junit mockito

2 Answered Questions

[SOLVED] Difference between @Mock, @MockBean and Mockito.mock()

2 Answered Questions

[SOLVED] How to use Mockito when we cannot pass a mock object to an instance of a class

  • 2014-12-18 17:37:52
  • user1883212
  • 8122 View
  • 6 Score
  • 2 Answer
  • Tags:   java mockito

5 Answered Questions

[SOLVED] Mockito: InvalidUseOfMatchersException

2 Answered Questions

[SOLVED] Mocking Files in Java - Mock Contents - Mockito

  • 2013-07-16 16:11:29
  • Matej Voboril
  • 65757 View
  • 28 Score
  • 2 Answer
  • Tags:   java file mockito

5 Answered Questions

[SOLVED] Mocking methods of local scope objects with Mockito

3 Answered Questions

[SOLVED] How to use ArgumentCaptor for stubbing?

2 Answered Questions

10 Answered Questions

[SOLVED] Testing Private method using mockito

  • 2012-01-10 06:33:11
  • Nageswaran
  • 277094 View
  • 93 Score
  • 10 Answer
  • Tags:   java junit mockito