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