title: Assert regex matches in JUnit
body: <p>Ruby's <code>Test::Unit</code> has a nice <code>assert_matches</code> method that can be used in unit tests to assert that a regex matches a string.</p>
  
  <p>Is there anything like this in JUnit? Currently, I do this:</p>
  
  <pre><code>assertEquals(true, actual.matches(expectedRegex));
  </code></pre>