@Test
    public void testIt() {
        StringReader stringReader=new StringReader("hello world");
        NamedReader r=new NamedReader("test1",stringReader);
        assertEquals("test1",r.getName());
        assertEquals("test1",r.toString());
        assertEquals(stringReader,r.getReader());
        NamedReader.closeAll(List.of(r));
        NamedReader.closeAll(null); // noop, nor exception
    }
Tests all method of NamedReader.

@author bratseth
@author Steinar Knutsen
vespajlib/src/test/java/com/yahoo/io/reader/NamedReaderTestCase.java