Esempio n. 1
0
 /**
  * @return $this
  */
 public function isNotEmpty()
 {
     return $this->addMatcher(Not::build(EmptyMatcher::build()));
 }
Esempio n. 2
0
 /**
  * @test
  */
 public function doesNotMatchOnMatcher()
 {
     $matcher = new Not(new EmptyMatcher());
     $this->assertThat($matcher->matches(""), $this->isFalse());
 }