@Test(expected = NotFoundException.class)
public void should_fail_when_trying_to_delete_an_unknown_property() throws Exception {

    Widget aWidget = addToRepository(aWidget().build());
    widgetRepository.deleteProperty(aWidget.getId(), "unknownPrameter");
}