def test_08_stopped_queue(self): q = QueueConsumer(QueueMock()) q.stop() item = q.first() assert item is None