Alias for org.mockito.matchers.MacroBasedMatchers.any
Delegates to ArgumentMatchers.any()
, it's main purpose is to remove the () out of
the method call, if you try to do that directly on the test you get this error
Delegates to ArgumentMatchers.any()
, it's main purpose is to remove the () out of
the method call, if you try to do that directly on the test you get this error
Error:(71, 46) polymorphic expression cannot be instantiated to expected type; found : [T]()T required: String when you try to something like ArgumentMatchers.any
It also fixes the NullPointerException when used on an value class argument (IMPORTANT: YOU MUST PROVIDE THE TYPE FOR VALUE CLASSES)
Creates a matcher that delegates on {{org.scalactic.Equality}} so you can always customise how the values are compared Also works with value classes
Creates a matcher that delegates on {{org.scalactic.Equality}} so you can always customise how the values are compared Also works with value classes
It was intended to be used instead of any when the argument is a value class, but any now supports value classes so it is not needed anymore
It was intended to be used instead of any when the argument is a value class, but any now supports value classes so it is not needed anymore
(Since version 1.0.2) Use 'any[T]' or '*[T]' instead
It was intended to be used instead of eqTo when the argument is a value class, but eqTo now supports value classes so it is not needed anymore
It was intended to be used instead of eqTo when the argument is a value class, but eqTo now supports value classes so it is not needed anymore
(Since version 1.0.2) Use 'eqTo' instead
(Since version ) see corresponding Javadoc for more information.
(Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...
(Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...
Simple object to allow the usage of the trait without mixing it in