':py:obj:`Connection.pending` returns the number of bytes available for
immediate read.'

def test_pending(self):

    connection = Connection(Context(TLSv1_METHOD), None)
    self.assertEquals(connection.pending(), 0)
