@Test
    void requireThatEntriesWorksAsExpected() {
        Headers headers = new Headers();
        assertEquals(List.of(), headers.entries());
        headers.put("foo", List.of("bar", "baz"));

        List<Map.Entry<String, String>> entries = headers.entries();
        assertEquals(2, entries.size());

        Map.Entry<String, String> entry = entries.get(0);
        assertNotNull(entry);
        assertEquals("foo", entry.getKey());
        assertEquals("bar", entry.getValue());

        assertNotNull(entry = entries.get(1));
        assertEquals("foo", entry.getKey());
        assertEquals("baz", entry.getValue());
    }
@author Simon Thoresen Hult
@author Einar M R Rosenvinge
application/src/test/java/com/yahoo/application/container/handler/HeadersTestCase.java