public function notContains($fragment, $failMessage = null) { if (strpos($this->valueIsSet()->value, $fragment) !== false) { $this->fail($failMessage ?: $this->_('%s contains %s', $this, $fragment)); } else { $this->pass(); } return $this; }