title: How to create, start, resume, pause, stop, destroy android activity during testing
body: <p>I wish to capture data from the views in the activity, then pause it, then resume it and ensure that the data has not changed. I tried calling Activity#onPause() in ActivityInstrumentationTestCase2#setUp() but I get an error.</p>