@Test
public void addProperty() {

    ChefPackage installedPackage = new ChefPackage("openssh-client");
    installedPackage.addProperty(ChefDslConstants.PACKAGE_NAME_PROPERTY, "java");
    installedPackage.addProperty(ChefDslConstants.PACKAGE_VERSION_PROPERTY, "8");
    assertEquals("java", installedPackage.getPackageName());
    assertEquals("8", installedPackage.getVersion());
}