act

Perform any interactions defined in the InteractionScope or on the LithoViewRule.

During tests we need to make sure that everything is in sync in the Main Thread and in the Background Thread, just like in real life use case. This functions takes off the responsibility from you to use the Loopers and manage the thread synchronisation. You only need to pass here one of the defined interactions from LithoViewRule or InteractionScope, and we will take care of all of the rest