title: Robolectric 3 : Load test specific resource
body: <p>I'm using Robolectric 3 and I'm trying to load some resources that are in my <code>test/res/</code> folder.</p>
  
  <p>Here is my file hierarchy : </p>
  
  <pre><code>project/
  |-src/
  |--main/
  |---AndroidManifest.xml
  |---res/
  |----raw/
  |-----prod.json
  |--test/
  |---java/
  |----com.app/
  |-----CustomTestRunner.java
  |-----Mytest.java
  |---res/
  |----raw/
  |-----test.json
  </code></pre>
  
  <p>I would like in <code>MyTest.java</code> to do something like</p>
  
  <pre><code>RuntimeEnvironment.application.getResources().openRawResource(R.raw.test);
  </code></pre>
  
  <p>but i don't want to override all my "standard" <code>res/</code> folder because i also need the <code>prod.json</code> file inside of my test.</p>
  
  <p>Any idea of how to do such things ?</p>
  
  <p>Thank you</p>