edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/message/TestNovatelMessageException.java
@Test
    public void testGetFormatProblem()
    {
        NovatelMessageException ex = new NovatelMessageException(FormatProblem.INCOMPLETE_INS_MESSAGE);
        
        assertThat(ex.getFormatProblem(), is(FormatProblem.INCOMPLETE_INS_MESSAGE));
    }
/**
     * Test creating an exception with only the format problem and retrieving the "format problem" from the exception.
     */
Test creating an exception with only the format problem and retrieving the "format problem" from the exception.
Test creating an exception with only the format problem and retrieving the " format problem " from the exception .
@Test
    public void testGetFormatProblem()
    {
        NovatelMessageException ex = new NovatelMessageException(FormatProblem.INCOMPLETE_INS_MESSAGE);
        assertThat(ex.getFormatProblem(), is(FormatProblem.INCOMPLETE_INS_MESSAGE));
    }
@ Test public void testGetFormatProblem ( ) { NovatelMessageException ex = new NovatelMessageException ( FormatProblem . INCOMPLETE_INS_MESSAGE ) ; assertThat ( ex . getFormatProblem ( ) , is ( FormatProblem . INCOMPLETE_INS_MESSAGE ) ) ; }
Test creating an exception with only the format problem and retrieving the "format problem" from the exception.
Test creating an exception with only the format problem and retrieving the " format problem " from the exception .