@Test
public void should_retrieve_all_custom_widgets() throws Exception {

    Widget input = aWidget().id("pbInput").build();
    Widget custom1 = aWidget().id("custom1").custom().build();
    Widget custom2 = aWidget().id("custom2").custom().build();
    addToDirectory(widgetDirectory, input, custom1, custom2);
    List<Widget> widgets = widgetLoader.loadAllCustom(widgetDirectory);
    assertThat(widgets).containsOnly(custom1, custom2);
}