public function doesNotContain($string) { $rep = Condition::stringOf($string); return $this->isNot(new Match(function ($value) use($string) { return false !== strpos($value, $string); }, ['%s does not contain ' . $rep, '%s contains ' . $rep])); }