    @Test
    public void collectsBindingUrisFromArtifact() throws Exception {

        List<URI> bindings = new ArrayList<>();
        
        final RawXJC2Mojo<Void> mojo = new RawXJC2Mojo<Void>() {
			
			@Override
			protected OptionsFactory<Void> getOptionsFactory() {
				throw new UnsupportedOperationException();
			}
			
			@Override
			public void doExecute(Void options) throws MojoExecutionException {
				throw new UnsupportedOperationException();
			}
		}; 

        mojo.collectBindingUrisFromArtifact(testJarFile, bindings);

        assertEquals(2, bindings.size());
        assertEquals(URI.create("jar:" + testJarFile.toURI() + "!/dir/nested.xjb"), bindings.get(0));
        assertEquals(URI.create("jar:" + testJarFile.toURI() + "!/root.xjb"), bindings.get(1));
        assertEquals("nested binding", readContent(bindings.get(0)));
        assertEquals("root binding", readContent(bindings.get(1)));
    }