'Starting the service listens with a factory that creates
``ControlAMP`` instances pointing at the service.'

def test_start_service(self):

    service = build_control_amp_service(self)
    initial = service.endpoint_service.running
    service.startService()
    control_factory = service.endpoint_service.factory.wrappedFactory
    protocol = control_factory.buildProtocol(None)
    self.assertEqual((initial, service.endpoint_service.running, service.endpoint_service.__class__, protocol.__class__, protocol.control_amp_service), (False, True, StreamServerEndpointService, ControlAMP, service))
