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