public function testApiIsEmpty_ReturnsFalse_WhenQueueIsNotEmpty() { $queue = $this->createTickQueue(); $queue->add(function () { }); $this->assertFalse($queue->isEmpty()); }