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