container = $app->getContainer(); } public function testAppInstalled() { $appManager = $this->container->query('OCP\App\IAppManager'); $this->assertTrue($appManager->isInstalled('appsautoupdater')); } }