'Stopping the service stops listening on the endpoint.'

def test_stop_service_endpoint(self):

    service = build_control_amp_service(self)
    service.startService()
    service.stopService()
    self.assertEqual(service.endpoint_service.running, False)
