def METHOD_NAME(self):
    expected_deployment_preference = DeploymentPreference(None, None, None, None, False, None, None, None)
    deployment_preference_yaml_dict = dict()
    deployment_preference_yaml_dict["Enabled"] = "False"
    deployment_preference_from_yaml_dict = DeploymentPreference.from_dict(
        "logical_id", deployment_preference_yaml_dict
    )
    self.assertEqual(expected_deployment_preference, deployment_preference_from_yaml_dict)