@Test
public void testCanonicalRepresentation_Client_AllFields_Get() throws Exception {

  // Not required for GET but introduced for consistent style
  Providers providers = null;
  OutBoundHeaders headers = new OutBoundHeaders();
  headers.add(HttpHeaders.DATE, "Sat, 01 Jan 2000 12:34:56 GMT");
  headers.add(HttpHeaders.HOST, "www.example.org");
  headers.add(HttpHeaders.USER_AGENT, "curl/7.20.0 (x86_64-pc-linux-gnu) libcurl/7.20.0 OpenSSL/1.0.0a zlib/1.2.3");
  headers.add(HmacUtils.X_HMAC_DATE, "Sat, 01 Jan 2000 12:34:57 GMT");
  headers.add(HmacUtils.X_HMAC_NONCE, "Thohn2Mohd2zugo");
  URI uri = new URI(baseUri + resourcePath + queryParameters);
  ClientRequest clientRequest = new ClientRequestImpl(uri, "get", null, headers);
  String representation = HmacUtils.createCanonicalRepresentation(clientRequest, providers);
  FixtureAsserts.assertStringMatchesStringFixture("GET canonical representation", representation, "/fixtures/hmac/expected-canonical-get.txt");
}