Use resetter API in robolectric.

resetStaticState was removed here:
https://github.com/robolectric/robolectric/pull/1364