lib/Assertion.php
function endWith(string $value): self {
    return $this->expect($this->target, stringEndsWith($value));
  }
function endWith(string $value): self {
    return $this->expect($this->target, stringEndsWith($value));
  }
Reports an error if the target does not end with the specified suffix.
@param string $value The suffix to check.
@return self This instance.