Tests that the `Response` object can be directly modified from a templating class or encode function.

Returns

void

Source

						public function testResponseModification() {
		Media::type('my', 'text/x-my', array('view' => 'lithium\tests\mocks\net\http\Template'));
		$response = new Response();

		Media::render($response, null, array('type' => 'my'));
		$this->assertEqual('Value', $response->headers('Custom'));
	}