/** * @param mixed $value * @return $this */ public function is($value) { return $this->addMatcher(Is::build($value)); }
/** * @test */ public function doesNotMatchOnMatcher() { $matcher = new Is(new EmptyMatcher()); $this->assertThat($matcher->matches("any non empty value"), $this->isFalse()); }