Found it. There's a function in ActivityUnitTestCase
that does the trick.
Intent in = getStartedActivityIntent();
which will return the launch intent if your Activity under test calls startActivity(Intent)
or startActivityForResult(Intent, int)
.