https://kotlinlang.org logo
#mockk
Title
# mockk
h

Hexa

10/25/2018, 1:25 PM
does anyone know if
<http://mockk.io|mockk.io>
has an equivalent of this method
any(Class<T> type)
which is from Mockito https://static.javadoc.io/org.mockito/mockito-core/2.11.0/org/mockito/ArgumentMatchers.html. I can't seem to find any equivalent so not sure what to use instead
o

oleksiyp

10/26/2018, 6:07 PM
any<T>()
👍 1
h

Hexa

10/28/2018, 10:31 AM
I tried
any<T>()
but my Intellij just says I can
remove explicit type arguments
so it just become
any()
. is that normal @oleksiyp?
is
any<T>()
the same as
any()
?
5 Views