The shadows in Robolectric that have static state all have a reset()
method that's called before each test is run. There's no magic - the
test runner calls reset on each shadow that needs it. It's clunky and
we've never found a better solution.
I'd be interested to hear what you end up doing.
> --
> You received this message because you are subscribed to the Google Groups
> "Robolectric" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
robolectric...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.