def test_recv_get_empty_with_cb(self):
        cb = mock()
        self.klass._get_cb.append(cb)
        self.klass._get_cb.append(mock())

        expect(cb).args(None)

        self.klass._recv_get_empty('frame')
        assert_equals(1, len(self.klass._get_cb))
        assert_false(cb in self.klass._get_cb)
dataset/ETHPy150Open agoragames/haigha/tests/unit/classes/basic_class_test.py/BasicClassTest.test_recv_get_empty_with_cb/original