@Test
public void testProxyUriUnexpectedWidgetType() {

    when(request.getParameter(eq("widgetId"))).thenReturn(SWITCH_WIDGET_ID);
    URI uri = service.uriFromRequest(request);
    assertNull(uri);
}