-
```
The following code:
ArgumentCaptor capturedCount = new ArgumentCaptor();
verify(mock).someMethod(capturedCount.capture());
will throw an NPE on the verify line if someMethod() takes a pr…
-
[Kai Moritz](https://jira.spring.io/secure/ViewProfile.jspa?name=kai.moritz) (Migrated from [SEC-1500](https://jira.spring.io/browse/SEC-1500?redirect=false)) said:
This issue is simmilar to the issu…
-
_This issue was originally filed by @tomyeh_
---
It is a right move to handle null specially before calling the customized method (as described in http://news.dartlang.org/2012/01/proposed-changes-f…
-
```
It would be useful to have the behaviour for computing hashcodes as recommended in Effective
Java Item 8 included as a library function. See
http://java.sun.com/developer/Books/effectivejava/C…
-
```
Say I have a
@Captor ArgumentCaptor fooCaptor;
I'd like to have it capture primitive double arguments, but the annotation
gives me an Object captor.
Unfortunately this also fails in a non-obviou…
-
```
It would be useful to have the behaviour for computing hashcodes as recommended in Effective
Java Item 8 included as a library function. See
http://java.sun.com/developer/Books/effectivejava/C…
-
```
Using Hamcrest with primitive types often requires auto boxing/unboxing to the
corresponding reference types. Hidden NullPointerExceptions are just one of
quite a few concerns regardings automat…
-
```
The following code:
ArgumentCaptor capturedCount = new ArgumentCaptor();
verify(mock).someMethod(capturedCount.capture());
will throw an NPE on the verify line if someMethod() takes a pr…
-
```
The following code:
ArgumentCaptor capturedCount = new ArgumentCaptor();
verify(mock).someMethod(capturedCount.capture());
will throw an NPE on the verify line if someMethod() takes a pr…
-
```
The following code:
ArgumentCaptor capturedCount = new ArgumentCaptor();
verify(mock).someMethod(capturedCount.capture());
will throw an NPE on the verify line if someMethod() takes a pr…