@Test
public void doesNotAllowConflicts() throws URISyntaxException {

    Model model = Model.assembler()
            .addImport(getClass().getResource("sources/a.smithy"))
            .addImport(getClass().getResource("conflicting/a.smithy"))
            .assemble()
            .unwrap();
    MockManifest manifest = new MockManifest();
    PluginContext context = PluginContext.builder()
            .fileManifest(manifest)
            .model(model)
            .originalModel(model)
            .sources(ListUtils.of(
                    Paths.get(getClass().getResource("sources/a.smithy").toURI()),
                    Paths.get(getClass().getResource("conflicting/a.smithy").toURI())))
            .build();
    Assertions.assertThrows(SourcesConflictException.class, () -> new SourcesPlugin().execute(context));
}