@Test
public void testDoGetWithCookies() throws Exception
{

	
	Mockito.when(request.getParameter("hasPreferenceId")).thenReturn("true");
	Mockito.when(request.getParameter("workspacePreferencesId")).thenReturn(workspaceId);
	this.instance.doGet(request, response);
	Mockito.verify(response).setContentType("application/json");
	Mockito.verify(response).setStatus(HttpServletResponse.SC_OK);
	//Mockito.verify(writer).println("{\n  \"workspaceId\" : \"WSP1\" , \n  \"elements\" : [\n    {\n      \"updateType\" : \"WorksheetListUpdate\" , \n      \"worksheets\" : [\n      ]\n    }\n  ]\n}\n");
}