mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestFacesContextUtil.java
@Test
    public void testGetFacesContext()
    {
        
        FacesContext context = mock(FacesContext.class);
        PowerMockito.when(FacesContext.getCurrentInstance()).thenReturn(context);
        
        assertThat(m_SUT.getFacesContext(), is(context));
    }
/**
     * Test the getFacesContext method.
     * Verify that the appropriate FacesContext is returned.
     */
Test the getFacesContext method.
Verify that the appropriate FacesContext is returned.
Test the getFacesContext method . Verify that the appropriate FacesContext is returned .
@Test
    public void testGetFacesContext()
    {
        FacesContext context = mock(FacesContext.class);
        PowerMockito.when(FacesContext.getCurrentInstance()).thenReturn(context);
        assertThat(m_SUT.getFacesContext(), is(context));
    }
@ Test public void testGetFacesContext ( ) { FacesContext context = mock ( FacesContext . class ) ; PowerMockito . when ( FacesContext . getCurrentInstance ( ) ) . thenReturn ( context ) ; assertThat ( m_SUT . getFacesContext ( ) , is ( context ) ) ; }
Test the getFacesContext method.
Test the getFacesContext method .