Is there a way to test using Espresso that the snackbar shows up with the right text?
I have a simple call to create a snackbar
Snackbar.make(mView, \"My
An alternative
private void checkSnackBarDisplayedByMessage( @StringRes int message) { onView(withText(message)) .check(matches(withEffectiveVisibility( ViewMatchers.Visibility.VISIBLE ))); }