@Test
public final void testColumnResizing() throws IOException {

    FacesRequest facesRequest = startFacesRequest();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    AbstractExtendedDataTable component = (AbstractExtendedDataTable) facesContext.getViewRoot().findComponent("table");
    ExtendedDataTableRenderer renderer = (ExtendedDataTableRenderer) FacesContext.getCurrentInstance().getRenderKit()
        .getRenderer(component.getFamily(), component.getRendererType());
    Map<String, Object> column1Attributes = component.findComponent("column1").getAttributes();
    assertNull(column1Attributes.get("width"));
    facesRequest.withParameter(component.getClientId(facesContext) + ":wi", "column1:200px");
    renderer.doDecode(facesContext, component);
    assertEquals("200px", column1Attributes.get("width"));
    facesRequest.release();
}