i have a mock that takes a sequence of Long, and a...
# mockk
c
i have a mock that takes a sequence of Long, and after some googling I now use this method to match it:
Copy code
fun <T> MockKMatcherScope.seqEq(seq: Sequence<T>) = match<Sequence<T>> {
    it.toList() == seq.toList()
}
this works but if the parameters are wrong i get an error thats not very informative: [2]: argument: kotlin.sequences.FlatteningSequence@6ad9638e, matcher: matcher<Sequence>(), result: - is there a way to also override how the error message is constructed, and show a list representation?