@Test
public void shouldFindAllEventSourcesOnTheClasspathWhichHaveTheCorrectName() throws Exception {

    final List<URL> urls = yamlFileFinder.getEventSourcesPaths();
    assertThat(urls.size(), is(1));
    assertThat(urls.get(0).toString(), endsWith("/yaml/event-sources.yaml"));
}