mil.dod.th.ose.controller/test/mil/dod/th/ose/controller/impl/TestTerraHarvestControllerImpl.java
@Test
    public void testGetBaseCapabilities() throws UnmarshalException, MalformedURLException
    {  
        verify(m_UnmarshalService).getXmlResource(m_Context.getBundle(), FactoryDescriptor.CAPABILITIES_XML_FOLDER_NAME,
                TerraHarvestControllerImpl.class.getName());
        verify(m_UnmarshalService).getXmlObject(eq(ControllerCapabilities.class), Mockito.any(URL.class));

        ControllerCapabilities caps = m_SUT.getCapabilities();
        assertThat(caps, is(m_MockCaps));
    }
/**
     * Test to verify that getCapabilities returns unmarshalled capabilities XML for the base capabilities (not the 
     * extended version).
     */
Test to verify that getCapabilities returns unmarshalled capabilities XML for the base capabilities (not the
extended version).
Test to verify that getCapabilities returns unmarshalled capabilities XML for the base capabilities ( not the extended version ) .
@Test
    public void testGetBaseCapabilities() throws UnmarshalException, MalformedURLException
    {  
        verify(m_UnmarshalService).getXmlResource(m_Context.getBundle(), FactoryDescriptor.CAPABILITIES_XML_FOLDER_NAME,
                TerraHarvestControllerImpl.class.getName());
        verify(m_UnmarshalService).getXmlObject(eq(ControllerCapabilities.class), Mockito.any(URL.class));
        ControllerCapabilities caps = m_SUT.getCapabilities();
        assertThat(caps, is(m_MockCaps));
    }
@ Test public void testGetBaseCapabilities ( ) throws UnmarshalException , MalformedURLException { verify ( m_UnmarshalService ) . getXmlResource ( m_Context . getBundle ( ) , FactoryDescriptor . CAPABILITIES_XML_FOLDER_NAME , TerraHarvestControllerImpl . class . getName ( ) ) ; verify ( m_UnmarshalService ) . getXmlObject ( eq ( ControllerCapabilities . class ) , Mockito . any ( URL . class ) ) ; ControllerCapabilities caps = m_SUT . getCapabilities ( ) ; assertThat ( caps , is ( m_MockCaps ) ) ; }
Test to verify that getCapabilities returns unmarshalled capabilities XML for the base capabilities (not the
 extended version).
Test to verify that getCapabilities returns unmarshalled capabilities XML for the base capabilities ( not the extended version ) .