edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/message/TestNovatelMessageParserImpl.java
@Test
    public void testParseINSPVABad()
    {
        String data = "#INSPVAA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;"
                + "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732,"
                + "-0.000502600,-0.782552644,0.238876476,148.083596481,INS_SOLUTION_BAD*b1967880";
        
        try
        {
            m_SUT.parseInsMessage(data);
            fail("Expected exception because the message is not good.");
        }
        catch (NovatelMessageException e)
        {
            //expected exception
        }
    }
/**
     * Test parsing a INSPVA message where the message is not good.
     */
Test parsing a INSPVA message where the message is not good.
Test parsing a INSPVA message where the message is not good .
@Test
    public void testParseINSPVABad()
    {
        String data = "#INSPVAA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;"
                + "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732,"
                + "-0.000502600,-0.782552644,0.238876476,148.083596481,INS_SOLUTION_BAD*b1967880";
        try
        {
            m_SUT.parseInsMessage(data);
            fail("Expected exception because the message is not good.");
        }
        catch (NovatelMessageException e)
        {
        }
    }
@ Test public void testParseINSPVABad ( ) { String data = "#INSPVAA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;" + "1702,221725.999755000,28.111270808,-80.624022245,-20.775880711,-63.661527253,39.651102732," + "-0.000502600,-0.782552644,0.238876476,148.083596481,INS_SOLUTION_BAD*b1967880" ; try { m_SUT . parseInsMessage ( data ) ; fail ( "Expected exception because the message is not good." ) ; } catch ( NovatelMessageException e ) { } }
Test parsing a INSPVA message where the message is not good.
Test parsing a INSPVA message where the message is not good .
//expected exception