edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/impl/connection/TestLineReader.java
@Test
    public void testClose() throws IOException
    {
        InputStream inStream = mock(InputStream.class);
        
        LineReader reader = new LineReader(inStream);
        
        reader.close();
        
        verify(inStream).close();
    }
/**
     * Test that close will close the underlying input stream.
     */
Test that close will close the underlying input stream.
Test that close will close the underlying input stream .
@Test
    public void testClose() throws IOException
    {
        InputStream inStream = mock(InputStream.class);
        LineReader reader = new LineReader(inStream);
        reader.close();
        verify(inStream).close();
    }
@ Test public void testClose ( ) throws IOException { InputStream inStream = mock ( InputStream . class ) ; LineReader reader = new LineReader ( inStream ) ; reader . close ( ) ; verify ( inStream ) . close ( ) ; }
Test that close will close the underlying input stream.
Test that close will close the underlying input stream .