diff --git a/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt b/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt index 48eead5ae..8ab6d55a6 100644 --- a/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt +++ b/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt @@ -40,7 +40,6 @@ class LanguageServerWrapperTest { unmockkAll() mockkStatic("io.snyk.plugin.UtilsKt") mockkStatic(ApplicationManager::class) - mockkStatic(ApplicationManager::class) every { ApplicationManager.getApplication() } returns applicationMock every { applicationMock.getService(WorkspaceTrustService::class.java) } returns trustServiceMock @@ -121,15 +120,10 @@ class LanguageServerWrapperTest { val featureFlag = "testFeatureFlag" every { processMock.info().startInstant().isPresent } returns true every { processMock.isAlive } returns true - - every { cut.ensureLanguageServerInitialized() } returns true - every { lsMock.workspaceService.executeCommand(any()) } returns CompletableFuture.completedFuture(mapOf("ok" to true)) - - // Act val result = cut.getFeatureFlagStatus(featureFlag)