public function testParsingContentTypeWithVersionNumber() { $response = new Response(array('headers' => array('Content-Type' => 'application/x-amz-json-1.0'))); $this->assertEqual('application/x-amz-json-1.0', $response->type()); }