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