@Test public void testNullCharArray() throws Exception { final ProxyReader proxy = new ProxyReaderImpl(new CustomNullReader(0)); proxy.read((char[])null); proxy.read(null, 0, 0); proxy.close(); }
@Test public void testNullCharBuffer() throws Exception { final ProxyReader proxy = new ProxyReaderImpl(new CustomNullReader(0)); proxy.read((CharBuffer)null); proxy.close(); }