@Test
public void testEmptyValueIterator() {

    Http2Headers headers = newServerHeaders();
    Iterator<CharSequence> itr = headers.valueIterator("foo");
    assertFalse(itr.hasNext());
    try {
        itr.next();
        fail();
    } catch (NoSuchElementException ignored) {
        // ignored
    }
}