/** * @expectedException \OCA\Files_External\Lib\InsufficientDataForMeaningfulAnswerException */ public function testNoCredentialsPersonal() { $this->credentialsManager->expects($this->never())->method('retrieve'); $storage = $this->getStorageConfig(StorageConfig::MOUNT_TYPE_PERSONAl); $this->instance->manipulateStorageConfig($storage); $this->assertEquals([], $storage->getBackendOptions()); }