title: How to write inner test classes if you use Spring and Junit 4? Or How else I can structure my tests?
body: <p>I have a test class which in the future will test different conditions for tests and I'd like to make it more structured and fit only into one file. I found <a href="https://stackoverflow.com/questions/8758294/test-cases-in-inner-classes-with-junit">this</a> solution but it doesn't suit me because I can't combine a <code>SpringRunner.class</code> and <code>Enclosed.class</code> to fit it into one <code>@RunWith</code>. I can't use <code>Nitor Creation's Nested Runner</code> - it brings the same problem.</p>
  
  <p>I use <code>Spring 5</code> and <code>Junit 4.12</code>. Well... my question is, how to combine my tests inside a few inner/nested classes with one root class?</p>
  
  <p><strong>UPD:</strong> one remark - I can't make an upgrade to <code>Junit 5</code>.</p>