Source

						public function testConfigServer() {
		$result = $this->library->config('server', 'lab.lithify.me');
		$this->assertTrue($result);

		$expected = array('servers' => array('lab.lithify.me' => true));
		$result = json_decode(file_get_contents($this->testConf), true);
		$this->assertEqual($expected, $result);

		//create a new object to test initialiaztion
		$this->request->params += array('conf' => $this->testConf);
		$library = new Library(array(
			'request' => $this->request, 'classes' => $this->classes
		));

		$expected = array('servers' => array(
			'lab.lithify.me' => true
		));
		$result = $this->library->config();
		$this->assertEqual($expected, $result);
	}