title: How to test for the appearance of a Toast message
body: <p>Would anyone know how to test for the appearance of a Toast message on an Activity?</p>
  
  <p>I'm using code similar to what the OP posted on <a href="https://stackoverflow.com/questions/1759626/how-do-you-test-an-android-application-across-multiple-activities">this question</a> for testing my program flow from one activity to the next. I'd also like to be able to test for toast messages on particular activities.</p>