externalContext.addRequestParameterMap(stp1.getClientId(facesContext), "false");
stp1.setSwitchType(UISimpleTogglePanel.CLIENT_SWITCH_TYPE);
UIViewRoot viewRoot = facesContext.getViewRoot();
viewRoot.processDecodes(facesContext);
viewRoot.processValidators(facesContext);
viewRoot.processUpdates(facesContext);
assertFalse(stp1.isOpened());
}
}