title: Is it possible to create a stub of android.os.Bundle for testing under JVM?
body: <p>As the title says, I want to know, if possible, how can I create a stub from <a href="http://developer.android.com/reference/android/os/Bundle.html" rel="nofollow">Bundle</a> to run at JVM (so not Dalvik). Since its part of <code>android.os</code> package, may be that is related to that impossibility.</p>
  
  <p>My point is due to the fact that I want to use a mocking framework, which run at JVM, to test the <code>Activity.onCreate()</code> method.  </p>
  
  <p>I've already found this <a href="https://sites.google.com/site/androiddevtesting/notepadsample/testing-a-constructor" rel="nofollow">link</a> but it seems they use a stripped custom android.jar since its rather experimental and unproven (yet I could not reproduce even with their jar, maybe I need some sleep).</p>
  
  <p>If there is another alternative to mock testing this, any insights will as always be appreciated.</p>
  
  <p>Thanks.</p>