'``_parse_restart_policy`` returns ``RestartNever`` if that policy was
specified in the configuration.'

def test_restart_policy_never(self):

    self.assertEqual(RestartNever(), _parse_restart_policy(application_name=u'foobar', config=dict(name=u'never')))
