'```AgentService.get_loop_service`` returns an ``AgentLoopService``
using the given deployer and all of the configuration supplied to
the``AgentService``.'

@skipUnless(platform.isLinux(), 'get_era()    only    supports    Linux.')
def test_agentloopservice(self):

    deployer = object()
    loop_service = self.agent_service.get_loop_service(deployer)
    context_factory = self.agent_service.get_tls_context().context_factory
    self.assertEqual(AgentLoopService(reactor=self.reactor, deployer=deployer, host=self.host, port=self.port, context_factory=context_factory, era=get_era()), loop_service)
