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 :
for (int i = 0; i < 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 ?
}
}
}
How do I check that string X exists using assertion ?
If the strings are in a List or Set then