@Test
public void testPuppetValidation_oneModuleButWildCardImports() throws Exception {

	File appDir = this.folder.newFolder();
	Component comp = new Component( "toto" ).installerName( "puppet" );
	comp.addImportedVariable( new ImportedVariable( "Other.*", true, false ));
	File directory = ResourceUtils.findInstanceResourcesDirectory( appDir, comp );
	Assert.assertTrue( new File( directory, "roboconf_toto" ).mkdirs());
	List<ModelError> errors = RecipesValidator.validateComponentRecipes( appDir, comp );
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( ErrorCode.REC_PUPPET_DISLIKES_WILDCARD_IMPORTS, errors.get( 0 ).getErrorCode());
}