mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetImageService.java
@Test
    public void testTryGetImageNoActiveController()
    {
        when(m_ActiveController.isActiveControllerSet()).thenReturn(false);

        String image = m_SUT.tryGetAssetImage(UUID.randomUUID());
        
        assertThat(image, is("thoseIcons/default/defaultImage.png"));
    }
/**
     * Verify default image string is returned if there is not an active controller set.
     */
Verify default image string is returned if there is not an active controller set.
Verify default image string is returned if there is not an active controller set .
@Test
    public void testTryGetImageNoActiveController()
    {
        when(m_ActiveController.isActiveControllerSet()).thenReturn(false);
        String image = m_SUT.tryGetAssetImage(UUID.randomUUID());
        assertThat(image, is("thoseIcons/default/defaultImage.png"));
    }
@ Test public void testTryGetImageNoActiveController ( ) { when ( m_ActiveController . isActiveControllerSet ( ) ) . thenReturn ( false ) ; String image = m_SUT . tryGetAssetImage ( UUID . randomUUID ( ) ) ; assertThat ( image , is ( "thoseIcons/default/defaultImage.png" ) ) ; }
Verify default image string is returned if there is not an active controller set.
Verify default image string is returned if there is not an active controller set .