title: use assertion with junit
body: <p>From a Table, I get list of String's and would like to check that when <code>val != "A"</code>, a string <code>"x"</code> exists in the list of table: </p>
  
  <pre><code>for (int i = 0; i &lt; NbRow; j++)
  {          
    if (val[i] == "A")
    {
       assertFalse("");          
    }
    else
    {        
      list.add(myTable.getValue(j, 0));      
      //need to check here the string exists in the list using assertTrue 
    }
  }  
  </code></pre>
  
  <p>How do I check that string X exists using assertion?</p>