@Test(expected = ConstraintValidationException.class)
public void should_not_allow_to_create_a_widget_without_name() throws Exception {

    Widget widget = aWidget().name(" ").build();
    widgetRepository.create(widget);
}