title: How to access Spring context in jUnit tests annotated with @RunWith and @ContextConfiguration?
body: <p>I have following test class</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations = {"/services-test-config.xml"})
  public class MySericeTest {
  
    @Autowired
    MyService service;
  ...
  
  }
  </code></pre>
  
  <p>Is it possible to access <code>services-test-config.xml</code> programmatically in one of such methods? Like:</p>
  
  <pre><code>ApplicationContext ctx = somehowGetContext();
  </code></pre>