question: private void testConnection ( ) { final String executable = getCurrentExecutablePath ( ) ; if ( myAppSettings != null ) { myAppSettings . setPathToGit ( executable ) ; } final GitVersion version ; try { version = GitVersion . identifyVersion ( executable ) ; } catch ( Exception e ) { Messages . showErrorDialog ( myRootPanel , e . getMessage ( ) , GitBundle . getString ( "find.git.error.title" ) ) ; return ; } if ( version . isSupported ( ) ) { Messages . showInfoMessage ( myRootPanel , String . format ( "<html>%s<br>Git version is %s</html>" , GitBundle . getString ( "find.git.success.title" ) , version . toString ( ) ) , GitBundle . getString ( "find.git.success.title" ) ) ; } else { Messages . showWarningDialog ( myRootPanel , GitBundle . message ( "find.git.unsupported.message" , version . toString ( ) , GitVersion . MIN ) , GitBundle . getString ( "find.git.success.title" ) ) ; } }
target:  Test availability of the connection