/** * Test application get config item */ public function testAppConfigItem() { $key = 'item'; $config = array($key => 'dummy'); $expected = $config[$key]; $app = new \Duality\App(dirname(__FILE__), $config); $this->assertEquals($expected, $app->getConfigItem($key)); }