@Test
public void should_not_allow_to_save_a_not_custom_widget() throws Exception {

    Widget pbWidget = aWidget().id("input").build();
    when(widgetService.get("input")).thenReturn(pbWidget);
    mockMvc.perform(put("/rest/widgets/customLabel")
            .contentType(MediaType.APPLICATION_JSON_VALUE)
            .content(convertObjectToJsonBytes(pbWidget)))
            .andExpect(status().isForbidden());
}