/** * @return $this */ public function isArray() { return $this->addMatcher(IsArray::build()); }
/** * @test */ public function doesNotMatchOnNull() { $matcher = new IsArray(); $this->assertThat($matcher->matches(null), $this->isFalse()); }