Tests creating a custom environment, and verifies that settings are properly retrieved.

Returns

void

Source

						public function testCreateNonStandardEnvironment() {
		Environment::set('custom', array('host' => 'server.local'));
		Environment::set('custom');

		$host = Environment::get('host');
		$expected = 'server.local';
		$this->assertEqual($expected, $host);

		$custom = Environment::get('custom');
		$expected = array('host' => 'server.local');
		$this->assertEqual($expected, $custom);
	}