jmiguel rodriguez

Results 3 comments of jmiguel rodriguez

@hunao0221 You can see at https://github.com/clarityai-eng/mockito/blob/9bc76015b6087c11f99df07130d2437168795ca0/src/main/java/org/mockito/ArgumentMatchers.java#L853-L856 that `argThat` method always returns null. This is because that method should be used to verify in assert, not for mocking (you can see...

We've tried the following code: ``` @RunWith(MockitoJUnitRunner.class) public class ATest { @Test public void testA() { ServerWebSocket x = Mockito.mock(ServerWebSocket.class); Vertx x2 = Mockito.mock(io.vertx.core.Vertx.class); assertTrue(true) ; } } ``` with...

I've tried to push this task for a while but unfortunately I won't have time in following days so I want to share what I've found so anyone can take...