Merge branch 'BAEL-2512'
This commit is contained in:
commit
ba633994ee
|
@ -17,6 +17,7 @@ public class MockitoMisusingUnitTest {
|
||||||
public void givenNotASpy_whenDoReturn_thenThrowNotAMock() {
|
public void givenNotASpy_whenDoReturn_thenThrowNotAMock() {
|
||||||
try {
|
try {
|
||||||
List<String> list = new ArrayList<String>();
|
List<String> list = new ArrayList<String>();
|
||||||
|
|
||||||
Mockito.doReturn(100)
|
Mockito.doReturn(100)
|
||||||
.when(list)
|
.when(list)
|
||||||
.size();
|
.size();
|
||||||
|
|
Loading…
Reference in New Issue