-
```
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…
-
```
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…
-
```
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 method "public native int KeyPressEvent.getCharacterValue()" causes an
"Expected primitive type int; actual value was undefined" exception when
the user presses a non-character key like shift,…
-
```
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…
-
```
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…
-
```
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…
-
This test fails if compiled with -draftCompile, or if running the corresponding code i SDM.
```
public void testInstanceof() {
Object value = "asdf";
assertEquals("false", (value instanceof …
-
```
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…