Testing Snackbar on Android
Barry Carroll
102

Isn’t a better idea to mock Toast in e.g. MessagesManager class and only test if we call MessagesManager.showToast() with correct message? We shouldn’t test not our implementation

One clap, two clap, three clap, forty?

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