/**
  * @test
  */
 public function doesNotMatch()
 {
     $matcher = new GreaterThanOrEquals(1);
     $this->assertThat($matcher->matches(0), $this->isFalse());
 }
Example #2
0
 /**
  * @param mixed $minValue
  * @param mixed $maxValue
  * @return $this
  */
 public function isBetween($minValue, $maxValue)
 {
     return $this->addMatcher(GreaterThanOrEquals::build($minValue))->addMatcher(LessThanOrEquals::build($maxValue));
 }