title: Use all values of an enum in a JUnit parameterized test
body: <p>I've found some examples how to use enum values in JUnit parameterized tests like this:</p>
  
  <pre><code>enum Colors {
    GREEN,
    RED,
    ORANGE
  }
  
  @Parameters
  public static Collection&lt;Object[]&gt; data() {
    return Arrays.asList(new Object[][] {
      // How to use the complete enum here?
      {Colors.GREEN},
      {Colors.RED},
      {Colors.ORANGE},
    });
  }
  </code></pre>
  
  <p>How can I use the complete enum in the <code>return</code> statement so that the test is run for each value of the enum?</p>