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