def METHOD_NAME(self):
    nframes = 20
    nbits = 16 * 17
    interleaver_indices = np.random.permutation(nbits)
    interleaver = blocks.blockinterleaver_bb(interleaver_indices, True, True)
    data = np.random.randint(0, 2, nbits * nframes)
    ref = np.array([], dtype=data.dtype)
    for f in np.reshape(data, (nframes, -1)):
        ref = np.concatenate((ref, f[interleaver_indices]))
    datavec = np.packbits(data)
    refvec = np.packbits(ref)
    src = blocks.vector_source_b(datavec)
    snk = blocks.vector_sink_b()
    self.tb.connect(src, interleaver, snk)
    # set up fg
    self.tb.run()
    # check data
    resvec = np.array(snk.data())
    self.assertTupleEqual(tuple(resvec), tuple(refvec))