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

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