Bit of a complicated setup. Robolectric, PowerMockito rule-based config.
@RunWith(RobolectricGradleTestRunner.class) @Config(constants = BuildConfig.class, sd
I ran into this problem too. There is actually an issue on the PowerMock project: https://github.com/jayway/powermock/issues/593
But no comments from any of the powermock developers.