ChefCookbookConfiguration { public void setName(String name) { this.name = name; } ChefCookbookConfiguration(ChefCookbookConfiguration componentType);  ChefCookbookConfiguration(); String getName(); void setName(String name); String getVersion(); void setVersion(String version); Platform getSupports(); void setSupports(Platform supports); LinkedHashMap<String, String> getDepends(); void setDepends(LinkedHashMap depends); void addDepends(String depends, String version); String getDescription(); void setDescription(String description); void addInstalledPackage(ChefPackage installedPackage); LinkedHashMap<String, ChefPackage> getRequiredPackages(); void addRequiredPackage(ChefPackage requiredPackage); LinkedHashMap<String, ChefPackage> getInstalledPackages(); List getAttribute(String key); void putAttribute(String key, List value); HashMap<String, List> getAttributes(); void printConfiguration(); void setOhaiPlatformAttributes(String platformName); void setOhaiPlatformVersionAttribute(String platformVersion); boolean hasPlatform(HashSet platforms); boolean hasPlatformFamily(HashSet platformFamilies); static ChefPackage getPackageByIndex(LinkedHashMap<String, ChefPackage> hMap, int index); List<String> getDependentRecipes(String cookbook); List<String> getRunlist(); void setRunlist(List<String> runlist); void addDependentRecipes(String cookbook, String recipe); void prepareForDependencie(String cookbook);  }
@Test public void setName() { cookbookConfiguration.setName("openssh"); assertEquals("openssh", cookbookConfiguration.getName()); }