mockito 4.1.0

This commit is contained in:
Milos Kozak 2021-12-11 09:58:52 +01:00
parent fca58029a4
commit 031e1c3650
3 changed files with 13 additions and 13 deletions

View file

@ -26,7 +26,7 @@ buildscript {
tink_version = '1.5.0' tink_version = '1.5.0'
junit_version = '4.13.2' junit_version = '4.13.2'
mockitoVersion = '3.12.4' mockitoVersion = '4.1.0'
dexmakerVersion = "1.2" dexmakerVersion = "1.2"
retrofit2Version = '2.9.0' retrofit2Version = '2.9.0'
okhttp3Version = '4.9.0' okhttp3Version = '4.9.0'

View file

@ -1,15 +1,15 @@
package info.nightscout.androidaps.testing.mocks; package info.nightscout.androidaps.testing.mocks;
import static org.mockito.Matchers.any; import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Matchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyBoolean;
import static org.mockito.Matchers.anyByte; import static org.mockito.ArgumentMatchers.anyByte;
import static org.mockito.Matchers.anyChar; import static org.mockito.ArgumentMatchers.anyChar;
import static org.mockito.Matchers.anyDouble; import static org.mockito.ArgumentMatchers.anyDouble;
import static org.mockito.Matchers.anyFloat; import static org.mockito.ArgumentMatchers.anyFloat;
import static org.mockito.Matchers.anyInt; import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Matchers.anyLong; import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Matchers.anyShort; import static org.mockito.ArgumentMatchers.anyShort;
import static org.mockito.Matchers.anyString; import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doAnswer;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;

View file

@ -1,7 +1,7 @@
package info.nightscout.androidaps.testing.mocks; package info.nightscout.androidaps.testing.mocks;
import static org.mockito.Matchers.any; import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Matchers.anyString; import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doAnswer;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;