JumpToCodeClient { public Ide getIde(String host, int port) { try { return new GetIdeCallable(getCheckIdeUrl(host, port)).call(); } catch (Exception e) { return Ide.DISCONNECTED; } } JumpToCodeClient(Configuration configuration); String getContent(final LocationInfo locationInfo); Ide getIde(String host, int port); String getUrl(LocationInfo locationInfo); boolean isJumpable(final LocationInfo locationInfo); Ide getIde(); Set<JumpToCodeService.Capabilities> capabilities(); Set<String> loggerPatterns(); void clearLocationCaches();  }
@Test public void testGetIde() { Assertions.assertThat(jumpToCodeClient.getIde()) .isEqualTo(Ide.IDEA); }