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