*/
@Test
public final void testGetComponentClass() throws IOException {
FacesRequest facesRequest = startFacesRequest();
FacesContext facesContext = FacesContext.getCurrentInstance();
AbstractPanel component = (AbstractPanel) facesContext.getViewRoot().findComponent("panelWithFacet");
PanelBaseRenderer renderer = (PanelBaseRenderer) FacesContext.getCurrentInstance().getRenderKit()
.getRenderer(component.getFamily(), component.getRendererType());
assertEquals(AbstractPanel.class, renderer.getComponentClass());
facesRequest.release();
}