@BeforeClass public static void setUpBeforeClass() { recipe = new Recipe(); recipe.setName("storage123456789"); recipe.setFolder("./src/test/resources/chef/"); System.out.println("deleting previous instances of the recipe. Errors are expected"); (new CommandLineInterfaceHelper()) .runLocalCommand( "knife cookbook remove storage123456789 -y -c " + Configuration.get("CHEF_CONFIG_FILE")); }