@Test
public void testGetConfigurationFiles() throws Exception {

    final JVoiceXmlConfiguration config =
        new JVoiceXmlConfiguration();
    final Collection<File> files =
        config.getConfigurationFiles("implementation");
    final File dir = new File("../org.jvoicexml.config/src/test/resources/config");
    final FilenameFilter filter = new FilenameFilter() {
        /**
         * {@inheritDoc}
         */
        @Override
        public boolean accept(final File dir, final String name) {
            return name.endsWith("-implementation.xml");
        }
    };
    final String[] impls = dir.list(filter);
    Assert.assertEquals(impls.length, files.size());
}