19declare(strict_types=1);
27use PHPUnit\Framework\MockObject\MockObject;
28use PHPUnit\Framework\TestCase;
34 $storage = $this->createMock(Services::class);
35 $storage->expects($this->once())
36 ->method(
'purgeSubject')
37 ->with($this->callback(
39 && $subject->
id() ===
'42'
61 $storage = $this->createMock(Services::class);
62 $storage->expects($this->never())->method($this->anything());
Purges the KeyValueStorage data of a user, see {.
Names the fully authenticated ILIAS users as KeyValueStorage subjects; the subject id is the user id.
Identifies a subject within the provider that names it.
testAPositiveUserIdPurgesThatUserOfTheProvider()
storageThatIsNeverCalled()
testANegativeUserIdDoesNotPurge()
Entry point to the namespace-scoped key-value storages of ILIAS.