@Test
public void testStringKeyRetrievedAsAsciiString() {

    final HttpHeaders headers = new DefaultHttpHeaders(false);
    // Test adding String key and retrieving it using a AsciiString key
    final String connection = "keep-alive";
    headers.add(of("Connection"), connection);
    // Passes
    final String value = headers.getAsString(HttpHeaderNames.CONNECTION.toString());
    assertNotNull(value);
    assertEquals(connection, value);
    // Passes
    final String value2 = headers.getAsString(HttpHeaderNames.CONNECTION);
    assertNotNull(value2);
    assertEquals(connection, value2);
}