diff --git a/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt b/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt index 3782e4e25..48eead5ae 100644 --- a/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt +++ b/src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt @@ -122,11 +122,12 @@ class LanguageServerWrapperTest { 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)) - every { cut.ensureLanguageServerInitialized() } returns true // Act