mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/impl/TestFactoryServiceContextImpl.java
@Test
    public void testGetCapabilitiesType()
    {
        doReturn(BaseCapabilities.class).when(m_FactoryServiceProxy).getCapabilityType();
        
        assertThat(m_SUT.getCapabilityType().getName(), is(BaseCapabilities.class.getName()));
    }
/**
     * Verify type returned matches that of the proxy.
     */
Verify type returned matches that of the proxy.
Verify type returned matches that of the proxy .
@Test
    public void testGetCapabilitiesType()
    {
        doReturn(BaseCapabilities.class).when(m_FactoryServiceProxy).getCapabilityType();
        assertThat(m_SUT.getCapabilityType().getName(), is(BaseCapabilities.class.getName()));
    }
@ Test public void testGetCapabilitiesType ( ) { doReturn ( BaseCapabilities . class ) . when ( m_FactoryServiceProxy ) . getCapabilityType ( ) ; assertThat ( m_SUT . getCapabilityType ( ) . getName ( ) , is ( BaseCapabilities . class . getName ( ) ) ) ; }
Verify type returned matches that of the proxy.
Verify type returned matches that of the proxy .