mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/general/TestTerraHarvestControllerUtil.java
@Test
    public void testSetSystemNameAndId()
    {
        m_SUT.setSystemId(111);
        m_SUT.setSystemName("Bears");
        
        m_SUT.setSystemNameAndId();
        
        verify(m_GrowlUtil).createLocalFacesMessage(eq(FacesMessage.SEVERITY_INFO), anyString(), anyString());
        
        assertThat(m_SUT.getSystemId(), is(111));
        assertThat(m_SUT.getSystemName(), is("Bears"));
    }
/**
     * Verify system name and id can be changed and that a 
     * FacesMessage is invoked
     */
Verify system name and id can be changed and that a
FacesMessage is invoked
Verify system name and id can be changed and that a FacesMessage is invoked
@Test
    public void testSetSystemNameAndId()
    {
        m_SUT.setSystemId(111);
        m_SUT.setSystemName("Bears");
        m_SUT.setSystemNameAndId();
        verify(m_GrowlUtil).createLocalFacesMessage(eq(FacesMessage.SEVERITY_INFO), anyString(), anyString());
        assertThat(m_SUT.getSystemId(), is(111));
        assertThat(m_SUT.getSystemName(), is("Bears"));
    }
@ Test public void testSetSystemNameAndId ( ) { m_SUT . setSystemId ( 111 ) ; m_SUT . setSystemName ( "Bears" ) ; m_SUT . setSystemNameAndId ( ) ; verify ( m_GrowlUtil ) . createLocalFacesMessage ( eq ( FacesMessage . SEVERITY_INFO ) , anyString ( ) , anyString ( ) ) ; assertThat ( m_SUT . getSystemId ( ) , is ( 111 ) ) ; assertThat ( m_SUT . getSystemName ( ) , is ( "Bears" ) ) ; }
Verify system name and id can be changed and that a
 FacesMessage is invoked
Verify system name and id can be changed and that a FacesMessage is invoked