edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/message/TestNovatelMessageParserImpl.java
@Test
    public void testParseInspvaMessageNoHeader() throws NovatelMessageException
    {
        try
        {
            m_SUT.parseInsMessage(
                    "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732,"
                       + "-0.000502600,-0.782552644,0.238876476,INS_SOLUTION_GOOD");
            fail("Expected Exception because the header is missing");
        }
        catch (NovatelMessageException e)
        {
            //expected exception
        }
    }
/**
     * Test parsing a INSPVA message that is missing the header.
     */
Test parsing a INSPVA message that is missing the header.
Test parsing a INSPVA message that is missing the header .
@Test
    public void testParseInspvaMessageNoHeader() throws NovatelMessageException
    {
        try
        {
            m_SUT.parseInsMessage(
                    "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732,"
                       + "-0.000502600,-0.782552644,0.238876476,INS_SOLUTION_GOOD");
            fail("Expected Exception because the header is missing");
        }
        catch (NovatelMessageException e)
        {
        }
    }
@ Test public void testParseInspvaMessageNoHeader ( ) throws NovatelMessageException { try { m_SUT . parseInsMessage ( "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732," + "-0.000502600,-0.782552644,0.238876476,INS_SOLUTION_GOOD" ) ; fail ( "Expected Exception because the header is missing" ) ; } catch ( NovatelMessageException e ) { } }
Test parsing a INSPVA message that is missing the header.
Test parsing a INSPVA message that is missing the header .
//expected exception