title: How to unit test a method that simply starts a thread with jUnit?
body: <p>As in the title, I want to test a method like this:</p>
  
  <pre><code>public void startThread()
  {
      new Thread()
      {
          public void run()
          {
              myLongProcess();
          }
      }.start();
  }
  </code></pre>
  
  <p>EDIT:
  Judging by comments I guess it is not very common to test if a thread starts or not. So I've to adjust the question... if my requirement is 100% code coverage do I need to test if that thread starts or not? If so do I really need an external framework?</p>