Example #1
0
 /**
  * @test
  */
 public function arrayParam()
 {
     $t = new Mcall();
     $this->assertNumberOfParameters(1);
     $this->assertNumberOfRequiredParameters(1);
     $this->assertTrue($this->getMethodFirstParameter()->isArray());
     $this->assertSame($t->arrayParam(array()), array());
     $this->assertSame($t->arrayParam(array(1, 2, 3)), array(1, 2, 3));
 }