mil.dod.th.ose.controller/test/mil/dod/th/ose/controller/impl/TestTerraHarvestControllerImpl.java
@Test
    public final void testGetVersion()
    {
        ThoseVersionProvider versionProvider = mock(ThoseVersionProvider.class);
        when(versionProvider.getVersion()).thenReturn("1.0");
        m_SUT.setThoseVersionProvider(versionProvider);
        
        assertThat(m_SUT.getVersion(), is("1.0"));
    }
/**
     * Verify version info is retrieved from internal service. 
     */
Verify version info is retrieved from internal service.
Verify version info is retrieved from internal service .
@Test
    public final void testGetVersion()
    {
        ThoseVersionProvider versionProvider = mock(ThoseVersionProvider.class);
        when(versionProvider.getVersion()).thenReturn("1.0");
        m_SUT.setThoseVersionProvider(versionProvider);
        assertThat(m_SUT.getVersion(), is("1.0"));
    }
@ Test public final void testGetVersion ( ) { ThoseVersionProvider versionProvider = mock ( ThoseVersionProvider . class ) ; when ( versionProvider . getVersion ( ) ) . thenReturn ( "1.0" ) ; m_SUT . setThoseVersionProvider ( versionProvider ) ; assertThat ( m_SUT . getVersion ( ) , is ( "1.0" ) ) ; }
Verify version info is retrieved from internal service.
Verify version info is retrieved from internal service .