def METHOD_NAME(self):
    url = urlsplit('http://localhost:9000/hello')
    expected_signed_headers = ['x-amz-content-sha256', 'x-amz-date']
    expected_request_array = ['PUT', '/hello', '',
                              'x-amz-content-sha256:' +
                              empty_hash, 'x-amz-date:dateString',
                              '', ';'.join(expected_signed_headers),
                              empty_hash]
    headers_to_sign = {'x-amz-date': 'dateString',
                       'x-amz-content-sha256': empty_hash}
    expected_request = sha256_hash('\n'.join(expected_request_array))
    actual_request = _get_canonical_request_hash(
        "PUT", url, headers_to_sign, empty_hash,
    )
    self.assertEqual(expected_request, actual_request[0])