Barry Carroll
Jul 26, 2017 · 1 min read

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.

    Barry Carroll

    Written by

    SDK guy at Zendesk.