123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace OCA\DAV\Tests\unit\AppInfo;
- use OCA\DAV\AppInfo\Application;
- use OCA\DAV\CardDAV\CardDavBackend;
- use OCA\DAV\CardDAV\ContactsManager;
- use Test\TestCase;
- class ApplicationTest extends TestCase {
- public function test(): void {
- $app = new Application();
- $c = $app->getContainer();
-
- $s = $c->query(ContactsManager::class);
- $this->assertInstanceOf(ContactsManager::class, $s);
- $s = $c->query(CardDavBackend::class);
- $this->assertInstanceOf(CardDavBackend::class, $s);
- }
- }
|