@Test
public void should_get_a_widget_by_its_id() throws Exception {

    Widget expectedWidget = aWidget().id("input").build();
    Widget notExpectedWidget = aWidget().id("label").build();
    addToDirectory(widgetDirectory, expectedWidget, notExpectedWidget);
    Widget widget = widgetLoader.get(widgetDirectory.resolve("input/input.json"));
    assertThat(widget).isEqualTo(expectedWidget);
}