Check to see if a value is the same as the value on a certain handler.
$first: The first value to check.
Drupal\views\Plugin\views\HandlerBase $handler: The handler that has the $handler->value property to compare with first.
string $message: The message to display along with the assertion.
string $group: The type of assertion - examples are "Browser", "PHP".
bool TRUE if the assertion succeeded, FALSE otherwise.
protected function assertEqualValue($first, $handler, $message = '', $group = 'Other') {
return $this
->assert($first == $handler->value, $message ? $message : t('First value is equal to second value'), $group);
}