Phive\Queue\Tests\Queue\Pdo\PdoQueueTest::testUnsupportedItemType PHP Method

testUnsupportedItemType() public method

public testUnsupportedItemType ( $item, $type )
    public function testUnsupportedItemType($item, $type)
    {
        $this->queue->push($item);
        if (Types::TYPE_BINARY_STRING === $type && $item !== $this->queue->pop()) {
            $this->fail('Binary strings are not identical');
        }
    }