title: How to inject custom class object into Junit environment?
body: <p>I am running JUnit from my code:</p>
  
  <pre><code>    Result result = JUnitCore.runClasses(MyClassNameTest.class);
  </code></pre>
  
  <p>The problem that I'm dealing with is taht MyClassName is dependent on some other class - let's say it's name is SomeOtherClass and I need that class to inject its instace somehow into "JUnit runtime" to be visible for MyClassName. Is it possible?</p>