ChefPackage { public String getVersion() { return version; } ChefPackage(String name);  ChefPackage(String name, String version);  ChefPackage(ChefPackage chefPackage); String getName(); void setName(String name); String getVersion(); void setVersion(String version); String getPackageName(); String getAction(); void setAction(String action); void setPackageName(String packageName); boolean addProperty(String propertyName, String propertyValue);  }
@Test public void getVersion() { ChefPackage installedPackage = new ChefPackage("openssh-client", "7.9"); assertEquals("7.9", installedPackage.getVersion()); }