@Test public void testLoadSources() throws SQLException { final SourceSet set = new SourceSet(); set.loadSources( Thread.currentThread() .getContextClassLoader() .getResourceAsStream("net/codemate/databases.yml")); Assert.assertNotNull(set.getConnection("hsqlSource")); }