mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerFilter.java
@Test
    public void testSetFilter()
    {
        m_SUT.setFilter(Filter.CommsDown);
        assertThat(m_SUT.getFilter(), is(Filter.CommsDown));
        
        m_SUT.setFilter(Filter.CommsUp);
        assertThat(m_SUT.getFilter(), is(Filter.CommsUp));
        
        m_SUT.setFilter(Filter.All);
        assertThat(m_SUT.getFilter(), is(Filter.All));
    }
/**
    * Test setting the filter to all filter types.
    */
Test setting the filter to all filter types.
Test setting the filter to all filter types .
@Test
    public void testSetFilter()
    {
        m_SUT.setFilter(Filter.CommsDown);
        assertThat(m_SUT.getFilter(), is(Filter.CommsDown));
        m_SUT.setFilter(Filter.CommsUp);
        assertThat(m_SUT.getFilter(), is(Filter.CommsUp));
        m_SUT.setFilter(Filter.All);
        assertThat(m_SUT.getFilter(), is(Filter.All));
    }
@ Test public void testSetFilter ( ) { m_SUT . setFilter ( Filter . CommsDown ) ; assertThat ( m_SUT . getFilter ( ) , is ( Filter . CommsDown ) ) ; m_SUT . setFilter ( Filter . CommsUp ) ; assertThat ( m_SUT . getFilter ( ) , is ( Filter . CommsUp ) ) ; m_SUT . setFilter ( Filter . All ) ; assertThat ( m_SUT . getFilter ( ) , is ( Filter . All ) ) ; }
Test setting the filter to all filter types.
Test setting the filter to all filter types .