I am doing automated testing using espresso. Normally if i had a message displayed I would use the resource id to locate the TextView or an element i want to test. Like this
onView(withId(R.id.myTextViewID)).check(matches(withText(containsString("Message im checking"))));
Now the problem with crouton ALERT messages is i don't know which id to check against.