@Test
public void testScriptValidation_success() throws Exception {

	File appDir = this.folder.newFolder();
	Component comp = new Component( "toto" ).installerName( "script" );
	File directory = ResourceUtils.findInstanceResourcesDirectory( appDir, comp );
	Assert.assertTrue( new File( directory, RecipesValidator.SCRIPTS_DIR_NAME ).mkdirs());
	Utils.writeStringInto( "\ntest", new File( directory, RecipesValidator.SCRIPTS_DIR_NAME + "/test.sh" ));
	Assert.assertEquals( 0, RecipesValidator.validateComponentRecipes( appDir, comp ).size());
}