'When no interface is passed to L{IReactorTCP.listenTCP}, the returned
listening port listens on an IPv4 address.'

def test_portGetHostOnIPv4(self):

    reactor = self.buildReactor()
    port = self.getListeningPort(reactor, ServerFactory())
    address = port.getHost()
    self.assertIsInstance(address, IPv4Address)
