phalApiConfigYaconf = new PhalApi_Config_Yaconf(); } protected function tearDown() { } /** * @group testGet */ public function testGet() { $key = 'test.name'; $default = NULL; $rs = $this->phalApiConfigYaconf->get($key, $default); $this->assertEquals('PhalApi', $rs); } /** * @group testHas */ public function testHas() { $key = 'test.version'; $rs = $this->phalApiConfigYaconf->has($key); $this->assertTrue($rs); } }