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