':py:obj:`Connection.get_peer_cert_chain` raises :py:obj:`TypeError` if called with any
arguments.'

def test_get_peer_cert_chain_wrong_args(self):

    conn = Connection(Context(TLSv1_METHOD), None)
    self.assertRaises(TypeError, conn.get_peer_cert_chain, 1)
    self.assertRaises(TypeError, conn.get_peer_cert_chain, 'foo')
    self.assertRaises(TypeError, conn.get_peer_cert_chain, object())
    self.assertRaises(TypeError, conn.get_peer_cert_chain, [])
