title: Junit assertions
body: <p>From a Table, I get list of String's and would like to check that when val!= "A" , a string "x" exist 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>