edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/TestNovatelAsset.java
@Test
    public void testOnCaptureData()
    {
        try
        {
            m_SUT.onCaptureData();
            fail("Expecting Exception");
        }
        catch (UnsupportedOperationException e)
        {
            //expected exception this asset does not support capturing data
        }
    }
/**
     * Verify that if the asset is requested to capture data that an exception is thrown.
     */
Verify that if the asset is requested to capture data that an exception is thrown.
Verify that if the asset is requested to capture data that an exception is thrown .
@Test
    public void testOnCaptureData()
    {
        try
        {
            m_SUT.onCaptureData();
            fail("Expecting Exception");
        }
        catch (UnsupportedOperationException e)
        {
        }
    }
@ Test public void testOnCaptureData ( ) { try { m_SUT . onCaptureData ( ) ; fail ( "Expecting Exception" ) ; } catch ( UnsupportedOperationException e ) { } }
Verify that if the asset is requested to capture data that an exception is thrown.
Verify that if the asset is requested to capture data that an exception is thrown .
//expected exception this asset does not support capturing data