def METHOD_NAME(
    self, config, app_spec, deployment
):
    config.datadog_container_image = CONTAINER_IMAGE_LATEST
    config.datadog_activate_sleep = False
    datadog = DataDog(config)
    datadog_spec = app_spec.datadog._replace(enabled=True)
    app_spec = app_spec._replace(datadog=datadog_spec)
    datadog.apply(deployment, app_spec, False, 5)
    assert False == ("lifecycle" in deployment.as_dict()["spec"]["template"]["spec"]["containers"][-1])