assertEquals('func(a, b)', FunctionCall::build($component)); } public function testBuildArrayObj() { $component = new FunctionCall('func', new ArrayObj(array('a', 'b'))); $this->assertEquals('func(a, b)', FunctionCall::build($component)); } }