mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/xml/TestXmlUnmarshalServiceImpl.java
@Test
    public void testGetXmlObjectStream() throws UnmarshalException, SAXException, JAXBException
    {
        InputStream is = mock(InputStream.class);
        TestClass data = m_SUT.getXmlObject(TestClass.class, is);
        assertThat(data, is(m_TestData));
    }
/**
     * Verify the method will retrieve a capabilities object given the input stream.
     */
Verify the method will retrieve a capabilities object given the input stream.
Verify the method will retrieve a capabilities object given the input stream .
@Test
    public void testGetXmlObjectStream() throws UnmarshalException, SAXException, JAXBException
    {
        InputStream is = mock(InputStream.class);
        TestClass data = m_SUT.getXmlObject(TestClass.class, is);
        assertThat(data, is(m_TestData));
    }
@ Test public void testGetXmlObjectStream ( ) throws UnmarshalException , SAXException , JAXBException { InputStream is = mock ( InputStream . class ) ; TestClass data = m_SUT . getXmlObject ( TestClass . class , is ) ; assertThat ( data , is ( m_TestData ) ) ; }
Verify the method will retrieve a capabilities object given the input stream.
Verify the method will retrieve a capabilities object given the input stream .