@Test
public void multiple_variants_for_same_service_id() throws IOException {

	// Given
	URL url = Thread.currentThread().getContextClassLoader().getResource("example_multiple_variants_for_same_service_id");
	File example = new File(url.getPath());
	Path resources = temp.newFolder().toPath();
	FileUtils.copyDirectory(example, resources.toFile());
	ResourcesManager manager = new ResourcesManager(resources, null);
	List<CarnotzetModule> modules = Arrays.asList(
			CarnotzetModule.builder().name("service1-variant2").serviceId("service1").build(),
			CarnotzetModule.builder().name("service1-variant1").serviceId("service1").build()
	);
	// When
	manager.resolveResources(modules);
	// Then
	assertTrue(resources.resolve("resolved/service1/files/config.properties").toFile().exists());
	assertTrue(resources.resolve("resolved/service1/files/config2.properties").toFile().exists());
	assertTrue(resources.resolve("resolved/service1/files/config3.properties").toFile().exists());
}