What i want to do is very simple, i just want to test my IllegalState (during fragment commit) logic behind my activities. I want to pause the activity, try to commit a fragment and then asserts that i'm handling this right.
But it seems to be not possible to actually pause and then resume activity during Espresso tests. Is there a way to do this without launching another activity?