Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mockito

Why Mockito's mock returns 0 when it should return null?

Does mockito have an equivalent idiom to jMock's States?

Mockito - Stubbing a method of an object that was returned by a mock object method

How can I compare POJOs by their fields reflectively

Parameter specified as non-null is null when using Mokito anyObject() on Kotlin function

mockito kotlin

Java Mock throw an exception, then return a value?

java unit-testing mockito

In Java, how can I mock a service loaded using ServiceLoader?

java mockito serviceloader

Prevent stubbing of equals method

I used doReturn, why would Mockito still call real implementation inside anonymous class?

java mockito guava

PowerMock static class does not mock

How to mock date in mockito?

java mockito

Mockito when checking for specific object property value

java mockito

Mocked suspend function returns null in Mockito

How to stub a method call with an implicit matcher in Mockito and Scala

Maven: compiling and testing on different source levels

Mockito Matchers.any(...) on one argument only

java testing mockito matcher

Mockito anyMapOf nested generics

java generics mocking mockito

Mockito for Objects in Scala

scala object mockito

Serializing a mock throws exception

java unit-testing gson mockito

Mockito, @InjectMocks strange behaviour with final fields

java testng mockito