mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/xml/TestXmlUnmarshalServiceImpl.java
@Test
    public void testGetXmlObjectURL() throws UnmarshalException, SAXException, JAXBException, MalformedURLException
    {
        TestClass data = m_SUT.getXmlObject(TestClass.class, new URL("file:object.xml"));
        
        // verify schema, should be the fully qualified class name, replacing . with /, mil.dod.th with scheamas and 
        // change .java to .xsd
        verify(m_bunMock).getResource("schemas/ose/core/impl/xml/TestClass.xsd");
        
        assertThat(data, is(m_TestData));
    }
/**
     * Verify the method will retrieve a capabilities object given a valid URL.
     * 
     * Verify correct schema is used based on the class.
     */
Verify the method will retrieve a capabilities object given a valid URL.

Verify correct schema is used based on the class.
Verify the method will retrieve a capabilities object given a valid URL . Verify correct schema is used based on the class .
@Test
    public void testGetXmlObjectURL() throws UnmarshalException, SAXException, JAXBException, MalformedURLException
    {
        TestClass data = m_SUT.getXmlObject(TestClass.class, new URL("file:object.xml"));
        verify(m_bunMock).getResource("schemas/ose/core/impl/xml/TestClass.xsd");
        assertThat(data, is(m_TestData));
    }
@ Test public void testGetXmlObjectURL ( ) throws UnmarshalException , SAXException , JAXBException , MalformedURLException { TestClass data = m_SUT . getXmlObject ( TestClass . class , new URL ( "file:object.xml" ) ) ; verify ( m_bunMock ) . getResource ( "schemas/ose/core/impl/xml/TestClass.xsd" ) ; assertThat ( data , is ( m_TestData ) ) ; }
Verify the method will retrieve a capabilities object given a valid URL.
Verify the method will retrieve a capabilities object given a valid URL .
// verify schema, should be the fully qualified class name, replacing . with /, mil.dod.th with scheamas and  // change .java to .xsd