title: How do I execute multiple JUnit test suites from a single class?
body: <p>I've tried to search on google, but I keep getting the same answer which is to use the following code:</p>
  
  <pre><code>import org.junit.runner.RunWith;
  import org.junit.runners.Suite;
  import org.junit.runners.Suite.SuiteClasses;
  
  @RunWith(Suite.class)
  @SuiteClasses({FirstTest.class,SecondTest.class,ThirdTest.class})
  public class RunTestSuite {
  }
  </code></pre>
  
  <p>However when I attempt to use this code in my program, I get multiple errors. All of them say the same thing: <code>Access restriction: The type is not API</code>.</p>
  
  <p>Is there a way to fix this? Or another method altogether that I can use to execute multiple test suites?</p>