notContains() public static method

Checks assertion. Values must not contains expected needle.
public static notContains ( $needle, $actual, $description = NULL ) : void
return void
示例#1
0
文件: Match.php 项目: redhead/mockyll
 public static function hasNot($expected)
 {
     return static::match(function ($arg) use($expected) {
         Assert::notContains($expected, $arg);
     });
 }