dG
01/07/2019, 4:39 PMany
(inline fun <reified T : Any> any()
). What would be appropriate syntax here, to include a class T?Alan Evans
01/07/2019, 4:54 PMwhenever
or verify
calls as a placeholder for an argument that you don't want to specify, and no, not often do you need to specify TAlan Evans
01/07/2019, 4:55 PMverify(myMock).myMethod(any())
Alan Evans
01/07/2019, 4:56 PMmyMethod
was called on myMock
exactly once with any argumentpoohbar
01/08/2019, 1:33 AMmockk
instead.. Mockito was ok ten years ago, nowadays there are better optionspoohbar
01/08/2019, 1:58 AMMike
01/08/2019, 11:48 AMPaul N
01/08/2019, 10:41 PM