That's two things you can test.
1: When you call onActivityResult in runtimeClient, verify the onActivityResult in runtime has been called and works correctly
2: For the real case, another Activity is started by your demand, and verify the result got is correctly passed to runtimeClient
Of course, you can test them together with one case. I think you are doing it for this case.
If you only want to test 1, there's even no need to introduce the `secondActiviy` at all, just manually invoke the `onActivityResult` is enough.