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

    Widget input = aWidget().id("input").build();
    input.setTemplate("@missingTemplate.tpl.html");
    addToDirectory(widgetDirectory, input);
     widgetLoader.load(widgetDirectory.resolve("input/input.json"));
}