DominionEnterprises\Mongo\QueueTest::getWithNegativePollDuration PHP Method

getWithNegativePollDuration() public method

    public function getWithNegativePollDuration()
    {
        $this->queue->send(['key1' => 0]);
        $this->assertNotNull($this->queue->get([], 0, 0, -1));
    }