title: How to add and remove packages in android Junit tests in android?
body: <p>How can I add and remove packages in jUnit tests in android?</p>
  
  <p>I am building an app that has to react to packages being added and removed (packages other than the one being tested), and I would like to be able to test that functionality in jUnit tests.</p>
  
  <p>Any suggestions?</p>