@SuppressWarnings("static-access")
@Test
public void shouldAvoidAddingCssToResponseMultipleTimes()
{
IHeaderResponse response = mock(IHeaderResponse.class);
CssResourceReference customCssResourceReference = new CssResourceReference(
JQueryUiTooltip.class, "test.css");
tooltip.renderHead(component, response);
tooltip.addCssResource(customCssResourceReference);
tooltip.renderHead(component, response);