public function PushQueueTest::testClaimItem in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_push/tests/src/Unit/PushQueueTest.php \Drupal\Tests\salesforce_push\Unit\PushQueueTest::testClaimItem()
- 5.0.x modules/salesforce_push/tests/src/Unit/PushQueueTest.php \Drupal\Tests\salesforce_push\Unit\PushQueueTest::testClaimItem()
@covers ::claimItem
File
- modules/
salesforce_push/ tests/ src/ Unit/ PushQueueTest.php, line 108
Class
- PushQueueTest
- Test Object instantitation.
Namespace
Drupal\Tests\salesforce_push\UnitCode
public function testClaimItem() {
$this->queue = PushQueue::create(\Drupal::getContainer());
$this
->expectException(\Exception::class);
$this->queue
->claimItem();
}