def METHOD_NAME(self):
    """Deployment should contain the given ingress annotations when they
    are specified."""
    doc = render_chart(
        values={
            "nginx": {
                "ingressAnnotations": {"foo1": "foo", "foo2": "foo", "foo3": "foo"}
            }
        },
        show_only=["charts/nginx/templates/nginx-service.yaml"],
    )[0]
    expected_annotations = {"foo1": "foo", "foo2": "foo", "foo3": "foo"}
    assert all(
        doc["metadata"]["annotations"][x] == y
        for x, y in expected_annotations.items()
    )