コード例 #1
0
ファイル: DispatcherStore.php プロジェクト: wizbii/pipeline
 /**
  * @return $this
  */
 public function isNotEmpty()
 {
     return $this->addMatcher(Not::build(EmptyMatcher::build()));
 }
コード例 #2
0
ファイル: NotTest.php プロジェクト: wizbii/pipeline
 /**
  * @test
  */
 public function doesNotMatchOnMatcher()
 {
     $matcher = new Not(new EmptyMatcher());
     $this->assertThat($matcher->matches(""), $this->isFalse());
 }