title: Stub value of Build.VERSION.SDK_INT in Local Unit Test
body: <p>I am wondering if there is anyway to stub the value of <code>Build.Version.SDK_INT</code>? Suppose I have the following lines in the <code>ClassUnderTest</code>:</p>
  
  <pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.JELLY_BEAN) {
      //do work
  }else{
      //do another work
  }
  </code></pre>
  
  <p>How can I cover all the code ?</p>
  
  <p>I mean I want to run two tests with different SDK_INT to enter both blocks. </p>
  
  <p>Is it possible in android <strong>local</strong> unit tests using <code>Mockito</code>/<code>PowerMockito</code>?</p>
  
  <p>Thanks</p>