mil.dod.th.ose.rxtxtty/test/mil/dod/th/ose/rxtxtty/TestRxtxInputStreamWrapper.java
@Test
    public void testRead() throws IOException
    {
        when(m_In.read(Mockito.any(byte[].class), eq(0), eq(1))).thenReturn(55);
        
        m_SUT.read();
        verify(m_In).read(Mockito.any(byte[].class), eq(0), eq(1));
    }
/**
     * Verify that a read calls the buffer read of the input stream.
     */
Verify that a read calls the buffer read of the input stream.
Verify that a read calls the buffer read of the input stream .
@Test
    public void testRead() throws IOException
    {
        when(m_In.read(Mockito.any(byte[].class), eq(0), eq(1))).thenReturn(55);
        m_SUT.read();
        verify(m_In).read(Mockito.any(byte[].class), eq(0), eq(1));
    }
@ Test public void testRead ( ) throws IOException { when ( m_In . read ( Mockito . any ( byte [ ] . class ) , eq ( 0 ) , eq ( 1 ) ) ) . thenReturn ( 55 ) ; m_SUT . read ( ) ; verify ( m_In ) . read ( Mockito . any ( byte [ ] . class ) , eq ( 0 ) , eq ( 1 ) ) ; }
Verify that a read calls the buffer read of the input stream.
Verify that a read calls the buffer read of the input stream .