Anyway around this?
@Test
fun `email producer - sad path`() {
val result = sut.send(email)
assert(!result)
verify { errorsCounter.increment() }
verify { **counter::increment** wasNot Called }
}
Overload resolution ambiguity. All these functions match.
public open fun increment(): Unit defined in io.micrometer.core.instrument.Counter
public abstract fun increment(amount: Double): Unit defined in io.micrometer.core.instrument.Counter