public function notEndWith($fragment, $failMessage = null)
{
if (strpos($this->valueIsSet()->value, $fragment) === strlen($this->valueIsSet()->value) - strlen($fragment)) {
$this->fail($failMessage ?: $this->_('%s end with %s', $this, $fragment));
} else {
$this->pass();
}
return $this;
}