public function PushQueueTest::testClaimItem in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 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
@expectedException \Exception
File
- modules/
salesforce_push/ tests/ src/ Unit/ PushQueueTest.php, line 113
Class
- PushQueueTest
- Test Object instantitation.
Namespace
Drupal\Tests\salesforce_push\UnitCode
public function testClaimItem() {
$this->queue = PushQueue::create(\Drupal::getContainer());
$this->queue
->claimItem();
}