'Test the case where the response to an associate request is a
server error or is otherwise undecipherable.'

def testBadResponse(self):

    self.consumer.return_messages = [Message(self.endpoint.preferredNamespace())]
    self.assertEqual(self.consumer._negotiateAssociation(self.endpoint), None)
    self.failUnlessLogMatches('Server    error    when    requesting    an    association')
