iviActivityTestRuleChain
Ensures that:
The iviServiceApiRule can be overwritten to configure IVI services before the locationSimulationRule.
The position can be simulated before starting the activity.
The webservice mock configuration is setup before starting the activity.
The testApplicationRule can be overridden to configure the test application before the preActivityRule.
The preActivityRule rule (or rule chain) is started before the activity.
The viewShowingIdlingResourceRule rule is stopped before the preActivityRule - this prevents a possible deadlock on idling resource in Rule.after with preActivityRule.
The screen recording is started before the activity.
A screenshot is taken before the teardown of ActivityScenarioRule.