edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/impl/message/TestMessageReaderImpl.java
@Test
    public void testStartReadNullMessage() throws InterruptedException, AssetException, 
        IOException, ValidationFailedException
    {
        when(m_ConnectionManager.readMessage()).thenReturn(null);
        
        m_SUT.startRetreiving(m_Receiver);
        
        verify(m_Receiver, never()).handleDataString(null);
    }
/**
     * Test start with null data string. Verify no exceptions
     */
Test start with null data string. Verify no exceptions
Test start with null data string . Verify no exceptions
@Test
    public void testStartReadNullMessage() throws InterruptedException, AssetException, 
        IOException, ValidationFailedException
    {
        when(m_ConnectionManager.readMessage()).thenReturn(null);
        m_SUT.startRetreiving(m_Receiver);
        verify(m_Receiver, never()).handleDataString(null);
    }
@ Test public void testStartReadNullMessage ( ) throws InterruptedException , AssetException , IOException , ValidationFailedException { when ( m_ConnectionManager . readMessage ( ) ) . thenReturn ( null ) ; m_SUT . startRetreiving ( m_Receiver ) ; verify ( m_Receiver , never ( ) ) . handleDataString ( null ) ; }
Test start with null data string.
Test start with null data string .