edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/message/TestNovatelMessageParserImpl.java
@Test
    public void testParseTimeMessageEmptyField()
    {
        try
        {
            m_SUT.evaluateTimeMessage(
                "#TIMEA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;"
                + " VALID,-3.432839221e-09,6.603391298e-08,-16.00000000000,2013,11,7,0,15,''");
            fail("Expected Exception because a field is missing");
        }
        catch (NovatelMessageException e)
        {
            //expected exception
        }
    }
/**
     * Test parsing a time message that is missing a value.
     */
Test parsing a time message that is missing a value.
Test parsing a time message that is missing a value .
@Test
    public void testParseTimeMessageEmptyField()
    {
        try
        {
            m_SUT.evaluateTimeMessage(
                "#TIMEA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;"
                + " VALID,-3.432839221e-09,6.603391298e-08,-16.00000000000,2013,11,7,0,15,''");
            fail("Expected Exception because a field is missing");
        }
        catch (NovatelMessageException e)
        {
        }
    }
@ Test public void testParseTimeMessageEmptyField ( ) { try { m_SUT . evaluateTimeMessage ( "#TIMEA,COM1,0,48.5,FINESTEERING,1702,47.848,00000000,ddae,7053;" + " VALID,-3.432839221e-09,6.603391298e-08,-16.00000000000,2013,11,7,0,15,''" ) ; fail ( "Expected Exception because a field is missing" ) ; } catch ( NovatelMessageException e ) { } }
Test parsing a time message that is missing a value.
Test parsing a time message that is missing a value .
//expected exception