mil.dod.th.core/test/mil/dod/th/core/remote/objectconverter/TestObjectConverterException.java
@Test
    public void testObjectConverterExceptionThrowableString()
    {
        Exception cause = new Exception();
        m_SUT = new ObjectConverterException("Test Message!", cause);
        assertThat(m_SUT.getMessage(), equalTo("Test Message!"));
        assertThat(m_SUT.getCause(), is((Throwable)cause));
    }
/**
     * Tests the ObjectConverterException constructor that accepts a string and a throwable as parameters.
     */
Tests the ObjectConverterException constructor that accepts a string and a throwable as parameters.
Tests the ObjectConverterException constructor that accepts a string and a throwable as parameters .
@Test
    public void testObjectConverterExceptionThrowableString()
    {
        Exception cause = new Exception();
        m_SUT = new ObjectConverterException("Test Message!", cause);
        assertThat(m_SUT.getMessage(), equalTo("Test Message!"));
        assertThat(m_SUT.getCause(), is((Throwable)cause));
    }
@ Test public void testObjectConverterExceptionThrowableString ( ) { Exception cause = new Exception ( ) ; m_SUT = new ObjectConverterException ( "Test Message!" , cause ) ; assertThat ( m_SUT . getMessage ( ) , equalTo ( "Test Message!" ) ) ; assertThat ( m_SUT . getCause ( ) , is ( ( Throwable ) cause ) ) ; }
Tests the ObjectConverterException constructor that accepts a string and a throwable as parameters.
Tests the ObjectConverterException constructor that accepts a string and a throwable as parameters .