Merge branch 'BAEL-2512'

This commit is contained in:
Jon Cook 2019-03-03 08:42:30 +01:00
commit ba633994ee
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ public class MockitoMisusingUnitTest {
public void givenNotASpy_whenDoReturn_thenThrowNotAMock() {
try {
List<String> list = new ArrayList<String>();
Mockito.doReturn(100)
.when(list)
.size();