mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/impl/TestFactoryServiceContextImpl.java
@Test
    public void testGetApiBundle()
    {
        BundleService bundleService = mock(BundleService.class);
        m_SUT.setBundleService(bundleService);
        Bundle apiBundle = mock(Bundle.class);
        
        when(bundleService.getBundle(FactoryObject.class)).thenReturn(apiBundle);
        
        assertThat(m_SUT.getApiBundle(), is(apiBundle));
    }
/**
     * Verify a bundle will be retrieved for the bundle that contains API classes.
     */
Verify a bundle will be retrieved for the bundle that contains API classes.
Verify a bundle will be retrieved for the bundle that contains API classes .
@Test
    public void testGetApiBundle()
    {
        BundleService bundleService = mock(BundleService.class);
        m_SUT.setBundleService(bundleService);
        Bundle apiBundle = mock(Bundle.class);
        when(bundleService.getBundle(FactoryObject.class)).thenReturn(apiBundle);
        assertThat(m_SUT.getApiBundle(), is(apiBundle));
    }
@ Test public void testGetApiBundle ( ) { BundleService bundleService = mock ( BundleService . class ) ; m_SUT . setBundleService ( bundleService ) ; Bundle apiBundle = mock ( Bundle . class ) ; when ( bundleService . getBundle ( FactoryObject . class ) ) . thenReturn ( apiBundle ) ; assertThat ( m_SUT . getApiBundle ( ) , is ( apiBundle ) ) ; }
Verify a bundle will be retrieved for the bundle that contains API classes.
Verify a bundle will be retrieved for the bundle that contains API classes .