@Test
public void should_not_allow_to_delete_a_property_of_a_pb_widget() throws Exception {

    mockMvc.perform(delete("/rest/widgets/pbLabel/properties/toBeDeleted")
            .contentType(MediaType.APPLICATION_JSON_VALUE)
            .content(convertObjectToJsonBytes(aProperty().build())))
            .andExpect(status().isForbidden())
            .andExpect(jsonPath("message").value("Not allowed to modify a non custom widgets"));
}