예제 #1
0
 /**
  * @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());
 }