def METHOD_NAME(self):
    # gateway_listen set to multiple values returns first case
    c = Container(ContainerConfiguration(""))
    c.config.env_vars["GATEWAY_LISTEN"] = ":5000,:443"
    c.config.ports.add(443)
    c.config.ports.add(5000)
    assert get_gateway_port(c) == 5000