'The string representation of C{SSHTransportAddress} should be
"SSHTransportAddress(<stringFunction on address>)".'

def _stringRepresentation(self, stringFunction):

    addr = self.buildAddress()
    stringValue = stringFunction(addr)
    addressValue = stringFunction(addr.address)
    self.assertEqual(stringValue, ('SSHTransportAddress(%s)' % addressValue))
