123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- declare(strict_types=1);
- namespace Test\Authentication\Events;
- use OC\Authentication\Events\RemoteWipeStarted;
- use OC\Authentication\Token\IToken;
- use Test\TestCase;
- class RemoteWipeStartedTest extends TestCase {
- public function testGetToken() {
- $token = $this->createMock(IToken::class);
- $event = new RemoteWipeStarted($token);
- $this->assertSame($token, $event->getToken());
- }
- }
|