mockito / mockito-kotlin

Using Mockito with Kotlin
MIT License
3.11k stars 202 forks source link

Add reified support for refEq like other matchers #329

Closed pablisco closed 5 years ago

pablisco commented 5 years ago

This takes care of #328

Follow the same pattern as with other matchers using reified generics to generate an instance to avoid having a warning or failure when using !!

pablisco commented 5 years ago

@nhaarman Any thoughts on this? It's been 4 months...

nhaarman commented 5 years ago

Oops! I'll have a look at it soon.

nhaarman commented 5 years ago

Thanks! Expect this in 2.2.0.