@Test
public void should_find_widget_which_not_use_another_widget() throws Exception {

    Widget input = aWidget().id("input").build();
    Widget label = aWidget().id("label").template("use <input>").build();
    addToDirectory(widgetDirectory, input, label);
    //label is used by noone
    assertThat(widgetLoader.findByObjectId(widgetDirectory, "label")).isEmpty();
}