public function EntityCollectorTest::testDeleteMultipleTokens in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 tests/src/Unit/EntityCollectorTest.php \Drupal\Tests\simple_oauth\Unit\EntityCollectorTest::testDeleteMultipleTokens()
- 8.2 tests/src/Unit/EntityCollectorTest.php \Drupal\Tests\simple_oauth\Unit\EntityCollectorTest::testDeleteMultipleTokens()
- 5.x tests/src/Unit/EntityCollectorTest.php \Drupal\Tests\simple_oauth\Unit\EntityCollectorTest::testDeleteMultipleTokens()
@covers ::collect
File
- tests/
src/ Unit/ EntityCollectorTest.php, line 68
Class
- EntityCollectorTest
- @coversDefaultClass \Drupal\simple_oauth\ExpiredCollector @group simple_oauth
Namespace
Drupal\Tests\simple_oauth\UnitCode
public function testDeleteMultipleTokens() {
list($expired_collector, , $storage) = $this
->buildProphecies();
$storage
->delete([
'foo',
])
->shouldBeCalledTimes(1);
$expired_collector
->deleteMultipleTokens([
'foo',
]);
}