Isn’t a better idea to mock Toast in e.g.
Paweł Dedio
1

I would generally mock once I started testing the Snackbars at a higher level, perhaps in a presenter test. For this case I really do want to verify that the Factory I’m using is creating the Snackbars correctly. I really would prefer not to test the implementation of them, but the lack of getText() makes that difficult.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.