Exemplo n.º 1
0
 /**
  * @param array $acceptedValues
  * @return $this
  */
 public function in($acceptedValues)
 {
     return $this->addMatcher(In::build($acceptedValues));
 }
Exemplo n.º 2
0
 /**
  * @test
  */
 public function doesNotMatch()
 {
     $matcher = new In(["foo", "bar"]);
     $this->assertThat($matcher->matches(["foo" => "hello"]), $this->isFalse());
 }