mil.dod.th.ose.sdk/test/mil/dod/th/ose/sdk/those/TestProjectProperties.java
@Test
    public void testGetApiVersion() throws Exception
    {
        Jar jar = mock(Jar.class);
        when(jar.getVersion()).thenReturn("7.6");
        when(m_BndService.newJar(new File("temp/api/mil.dod.th.core.api.jar"))).thenReturn(jar);

        assertThat(m_SUT.getApiVersion(), is("7.6"));
    }
/**
     * Verify the API version is retrieved from the bundle version for the core API bundle.
     */
Verify the API version is retrieved from the bundle version for the core API bundle.
Verify the API version is retrieved from the bundle version for the core API bundle .
@Test
    public void testGetApiVersion() throws Exception
    {
        Jar jar = mock(Jar.class);
        when(jar.getVersion()).thenReturn("7.6");
        when(m_BndService.newJar(new File("temp/api/mil.dod.th.core.api.jar"))).thenReturn(jar);
        assertThat(m_SUT.getApiVersion(), is("7.6"));
    }
@ Test public void testGetApiVersion ( ) throws Exception { Jar jar = mock ( Jar . class ) ; when ( jar . getVersion ( ) ) . thenReturn ( "7.6" ) ; when ( m_BndService . newJar ( new File ( "temp/api/mil.dod.th.core.api.jar" ) ) ) . thenReturn ( jar ) ; assertThat ( m_SUT . getApiVersion ( ) , is ( "7.6" ) ) ; }
Verify the API version is retrieved from the bundle version for the core API bundle.
Verify the API version is retrieved from the bundle version for the core API bundle .