mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/physical/TestPhysicalLinkImpl.java
@Test
    public void testSetDataBitsException() throws IOException, FactoryException
    {
        try
        {
            m_SUT.setDataBits(-1);
            fail("Exepcted exception becuase -1 is less than 1.");
        }
        catch (IllegalArgumentException e)
        {
            //expected
        }
        
        verify(m_ConfigurationAdmin, never()).getConfiguration(m_Pid, null);
    }
/**
     * Verify exception if data bits value is less than 1.
     */
Verify exception if data bits value is less than 1.
Verify exception if data bits value is less than 1 .
@Test
    public void testSetDataBitsException() throws IOException, FactoryException
    {
        try
        {
            m_SUT.setDataBits(-1);
            fail("Exepcted exception becuase -1 is less than 1.");
        }
        catch (IllegalArgumentException e)
        {
        }
        verify(m_ConfigurationAdmin, never()).getConfiguration(m_Pid, null);
    }
@ Test public void testSetDataBitsException ( ) throws IOException , FactoryException { try { m_SUT . setDataBits ( - 1 ) ; fail ( "Exepcted exception becuase -1 is less than 1." ) ; } catch ( IllegalArgumentException e ) { } verify ( m_ConfigurationAdmin , never ( ) ) . getConfiguration ( m_Pid , null ) ; }
Verify exception if data bits value is less than 1.
Verify exception if data bits value is less than 1 .
//expected