title: JUnit Return int value
body: <p>My JUnit test should check whether the number being returned is the same as the list size.</p>
  
  <p>If my test was as follows, would this be coded properly? I feel that it isn't, as the last two lines are always going to be true? (Sorry, if this makes no sense!)</p>
  
  <pre><code>public void testGetTotalPilots() {
      final ArrayList&lt;Pilot&gt; list = new ArrayList&lt;Pilot&gt;();
      final int size = list.size();
  
      assert size == list.size();
  }
  </code></pre>