title: Programmatically start an Eclipse IApplication
body: <p>does anyone know how to programmatically start an Eclipse IApplication?</p>
  
  <p>It is an commandline Application and I want to write unit tests for it.</p>
  
  <p>It should work so:</p>
  
  <pre><code>    org.eclipse.equinox.app.IApplication app = new myApp();
      try {
          app.start(???);
      } catch (Exception e) {
          e.printStackTrace();
      }
  </code></pre>
  
  <p>The start method requires an IApplicationContext.</p>
  
  <p>Where do I get this?</p>
  
  <p>Thanks a lot for help</p>