def test_enabled(self):
        ret = {'changes': 'saltstack', 'comment': '', 'name': 'salt',
               'result': True}
        mock = MagicMock(return_value={'changes': 'saltstack'})
        with patch.object(service, '_enable', mock):
            self.assertDictEqual(service.enabled("salt"), ret)
Remove recipient from email list.
dataset/ETHPy150Open saltstack/salt/tests/unit/states/service_test.py/ServiceTestCase.test_enabled--crossover with--dataset/ETHPy150Open bradfitz/addressbooker/gdata/apps/service.py/AppsService.RemoveRecipientFromEmailList