notInArray() public static method

public static notInArray ( $array )
コード例 #1
0
ファイル: FunctionsTest.php プロジェクト: letsdrink/ouzo
 /**
  * @test
  */
 public function shouldCheckIsNotInArray()
 {
     //given
     $array = array('white', 'snow');
     //when
     $result = Functions::call(Functions::notInArray($array), 'missing');
     //then
     $this->assertTrue($result);
 }