Extension\MCallTest::arrayParamWithDefaultNullValue PHP Method

arrayParamWithDefaultNullValue() public method

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