'An ``Application`` with ``Link`` objects is discovered from a ``Unit``
with environment variables that correspond to an exposed link.'

def test_discover_application_with_links(self):

    applications = [APP.set('links', [Link(local_port=80, remote_port=8080, alias=u'APACHE')])]
    self._verify_discover_state_applications({}, applications, start_applications=True)
