/** * */ function test_errors() { $config = new Error([Arg::ERRORS => ['foo']]); $this->assertEquals(['foo'], $config->errors()); }