title: assert that a list is not empty in JUnit
body: <p>I want to assert that a list is not empty in JUnit 4, when I googled about it I found this post : <a href="https://stackoverflow.com/q/3631110/4991526">Checking that a List is not empty in Hamcrest</a> which was using Hamcrest.</p>
  
  <pre><code>assertThat(result.isEmpty(), is(false));
  </code></pre>
  
  <p>which gives me this error :</p>
  
  <blockquote>
    <p>The method is(boolean) is undefined for the type
    MaintenanceDaoImplTest</p>
  </blockquote>
  
  <p>how can I do that without using <code>Hamcrest</code>.</p>