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