Matthew Laser
03/10/2022, 4:48 PMinline
functions aren’t mockable (and not spyable from what I can tell?)
does anyone have strategies for verifying that calls to a `MutableStateFlow`’s inline fun <T> MutableStateFlow<T>.update(function: (T) -> T)
is invoked with the correct argument (or invoked at all)?Peter Farlow
03/14/2022, 3:49 PM