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
(Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
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...
(Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
(Since version 3.1.0) The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.
It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied
Just mix-in after your favourite suite, i.e.
(Since version 1.3.0) Please use org.mockito.scalatest.MockitoSugar or org.mockito.scalatest.AsyncMockitoSugar from the mockito-scala-scalatest module