@Test public void shouldConsiderSCPGitUrlValid() { // pre-conditions // operation assertTrue(EGitUtils.isValidGitUrl("[email protected]:openshift/eap2.git/")); // verification }
@Test public void shouldConsiderSSHGitUrlValid() { // pre-conditions // operation assertTrue( EGitUtils.isValidGitUrl( "ssh://[email protected]/~/git/eap2.git/")); // verification }