title: Seam Component.getInstance() and unit testing
body: <p>I'm calling <code>Component.getInstance(Needed.class)</code> in the constructor of one of my classes, which is not a seam component.
  That works just fine, but I'm trying to cover it with unit tests and what I'm getting is <code>IllegalStateException</code> on the above line.
  Is there a way to cover Component.getInstance with tests?</p>
  
  <p>By the way I'm using unitils library...
  Thanks in advance</p>