mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerModel.java
@Test
    public void testGetSetBuildInfo()
    {
        //map of props
        Map<String, String> props = new HashMap<String, String>();
        props.put("build.info", "my build info");
        
        //verify empty list if there are no entries
        assertThat(m_SUT.getBuildInfo().isEmpty(), is(true));
        assertThat(m_SUT.getBuildInfoKeys().isEmpty(), is(true));
        
        //set the props
        m_SUT.setBuildInfo(props);
        
        //get the entry
        assertThat(m_SUT.getBuildInfo(), hasEntry("build.info", "my build info"));
    }
/**
     * Verify build info can be set.
     * Verify correct build info is returned. 
     */
Verify build info can be set.
Verify correct build info is returned.
Verify build info can be set . Verify correct build info is returned .
@Test
    public void testGetSetBuildInfo()
    {
        Map<String, String> props = new HashMap<String, String>();
        props.put("build.info", "my build info");
        assertThat(m_SUT.getBuildInfo().isEmpty(), is(true));
        assertThat(m_SUT.getBuildInfoKeys().isEmpty(), is(true));
        m_SUT.setBuildInfo(props);
        assertThat(m_SUT.getBuildInfo(), hasEntry("build.info", "my build info"));
    }
@ Test public void testGetSetBuildInfo ( ) { Map < String , String > props = new HashMap < String , String > ( ) ; props . put ( "build.info" , "my build info" ) ; assertThat ( m_SUT . getBuildInfo ( ) . isEmpty ( ) , is ( true ) ) ; assertThat ( m_SUT . getBuildInfoKeys ( ) . isEmpty ( ) , is ( true ) ) ; m_SUT . setBuildInfo ( props ) ; assertThat ( m_SUT . getBuildInfo ( ) , hasEntry ( "build.info" , "my build info" ) ) ; }
Verify build info can be set.
Verify build info can be set .
//map of props //verify empty list if there are no entries //set the props //get the entry