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

    Widget expectedWidget = addToRepository(aWidget().custom().build());
    widgetRepository.updateProperty(expectedWidget.getId(), "notExistingProperty", new Property());
}