I am using robolectric as my test runner with Mockito. I would like to know in Android how do i mock a resource. I have a array resource but in my test i'd like to mock the value.
i have an array that looks like this:
<array name="screen_sections">
<item>screen1</item>
<item>screen2</item>
<item>screen3</item>
<item>screen4</item>
</array>
and in test code i'd like to mock these values.