Esempio n. 1
0
 /**
  * @return $this
  */
 public function isEmpty()
 {
     return $this->addMatcher(EmptyMatcher::build());
 }
Esempio n. 2
0
 /**
  * @test
  */
 public function doesNotMatch()
 {
     $matcher = new EmptyMatcher();
     $this->assertThat($matcher->matches("hello"), $this->isFalse());
     $this->assertThat($matcher->matches(["world"]), $this->isFalse());
 }