mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestObservationMgrImpl.java
@Test
    public void testHandleManualFilterRequestValidationError()
    {
        FacesContext context = mock(FacesContext.class);
        when(m_FacesContextUtil.getFacesContext()).thenReturn(context);
        when(context.isValidationFailed()).thenReturn(true);
        
        m_SUT.handleManualFilterRequest();
        
        verify(m_FacesContextUtil, never()).getRequestContext();
    }
/**
     * Verify that if the faces context says that items are not valid on the page that there
     * is not a call to update the obs table.
     */
Verify that if the faces context says that items are not valid on the page that there
is not a call to update the obs table.
Verify that if the faces context says that items are not valid on the page that there is not a call to update the obs table .
@Test
    public void testHandleManualFilterRequestValidationError()
    {
        FacesContext context = mock(FacesContext.class);
        when(m_FacesContextUtil.getFacesContext()).thenReturn(context);
        when(context.isValidationFailed()).thenReturn(true);
        m_SUT.handleManualFilterRequest();
        verify(m_FacesContextUtil, never()).getRequestContext();
    }
@ Test public void testHandleManualFilterRequestValidationError ( ) { FacesContext context = mock ( FacesContext . class ) ; when ( m_FacesContextUtil . getFacesContext ( ) ) . thenReturn ( context ) ; when ( context . isValidationFailed ( ) ) . thenReturn ( true ) ; m_SUT . handleManualFilterRequest ( ) ; verify ( m_FacesContextUtil , never ( ) ) . getRequestContext ( ) ; }
Verify that if the faces context says that items are not valid on the page that there
 is not a call to update the obs table.
Verify that if the faces context says that items are not valid on the page that there is not a call to update the obs table .