title: How to use JUnit and Hamcrest together?
body: <p>I can't understand how JUnit 4.8 should work with Hamcrest matchers. There are some matchers defined inside <a href="http://repo2.maven.org/maven2/junit/junit/4.8/junit-4.8.jar" rel="noreferrer"><code>junit-4.8.jar</code></a> in <code>org.hamcrest.CoreMatchers</code>. At the same time there are some <em>other</em> matchers in <a href="http://repo2.maven.org/maven2/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar" rel="noreferrer"><code>hamcrest-all-1.1.jar</code></a> in <code>org.hamcrest.Matchers</code>. So, where to go? Shall I explicitly include hamcrest JAR into the project and ignore matchers provided by JUnit?</p>
  
  <p>In particular, I'm interested in <code>empty()</code> matcher and can't find it in any of these jars. I need something else? :)</p>
  
  <p>And a philosophical question: why JUnit included <code>org.hamcrest</code> package into its own distribution instead of encouraging us to use original hamcrest library?</p>