/**
  * @param string $row
  * @param string $column
  * @param string $expectation
  *
  * @throws ExpectationException
  */
 public function assertColumnContainsValue($row, $column, $expectation)
 {
     $column = strtoupper($column);
     $actual = $this->datagrid->getColumnValue($column, $row);
     if ($expectation !== $actual) {
         throw $this->createExpectationException(sprintf('Expecting column "%s" to contain "%s", got "%s"', $column, $expectation, $actual));
     }
 }
 /**
  * @param string $row
  * @param string $column
  * @param string $expectation
  *
  * @throws ExpectationException
  */
 public function assertColumnContainsValue($row, $column, $expectation)
 {
     $column = strtoupper($column);
     $actual = $this->datagrid->getColumnValue($column, $row);
     // do not consider the elements' order of "actual" and "expectation"
     $expectation = explode(',', $expectation);
     $expectation = array_map(function ($row) {
         return trim($row);
     }, $expectation);
     $actual = explode(',', $actual);
     $actual = array_map(function ($row) {
         return trim($row);
     }, $actual);
     $diff = array_diff($actual, $expectation);
     if (!empty($diff)) {
         throw $this->createExpectationException(sprintf('Expecting column "%s" to contain "%s", got "%s"', $column, implode(',', $expectation), implode(',', $actual)));
     }
 }