title: JUnit Call a test method in one class from another class
body: <p>Had a quick look at past questions, couldn't see something similar so here goes:</p>
  <p>I also made a mistake in choosing dummy names for this example to illustrate my point, I'll rename them.</p>
  <p>I have a class which has a JUnit test:</p>
  <pre><code>public class CheckFilter {
      @Test
      public void Run_filter_test() {
          //some code
      } 
  }
  </code></pre>
  <p>And then another class:</p>
  <pre><code>public class CheckVideoPlays {
      @Test
      public void Play_video_in_full() {
          //some more code here etc
      } 
  }
  </code></pre>
  <p>Finally, how do I call these two tests from another class, obviously you can't extend multiple classes.</p>
  <pre><code>public class RunAllTests { 
      //How do i call both
      //eg
      //
      //Run_filter_test();
      //Play_video_in_full();
  }
  </code></pre>
  <p><strong>Note: I don't want to call the class. Don't want to run as:</strong></p>
  <blockquote>
  <p>@RunWith(Suite.class)</p>
  <p>@Suite.SuiteClasses({</p>
  <p>CheckFilter.class,</p>
  <p>CheckVideoPlays.class</p>
  <p>})</p>
  </blockquote>