@Test public void getLastCommit() throws IOException { String sha1Hash = GitClient.getLastCommitSHA1("https: assertThat(sha1Hash.length(), is(40)); assertThat(sha1Hash.matches("[a-z0-9]*"), is(true)); }
public static String getLastCommitSHA1(String baseUrl) throws IOException { return getLastCommitSHA1(baseUrl, new BasicResponseHandler()); }
GitClient { public static String getLastCommitSHA1(String baseUrl) throws IOException { return getLastCommitSHA1(baseUrl, new BasicResponseHandler()); } }
GitClient { public static String getLastCommitSHA1(String baseUrl) throws IOException { return getLastCommitSHA1(baseUrl, new BasicResponseHandler()); }  }
GitClient { public static String getLastCommitSHA1(String baseUrl) throws IOException { return getLastCommitSHA1(baseUrl, new BasicResponseHandler()); }  static String getLastCommitSHA1(String baseUrl); static String getLastCommitSHA1(String baseUrl, ResponseHandler<String> handler); }
GitClient { public static String getLastCommitSHA1(String baseUrl) throws IOException { return getLastCommitSHA1(baseUrl, new BasicResponseHandler()); }  static String getLastCommitSHA1(String baseUrl); static String getLastCommitSHA1(String baseUrl, ResponseHandler<String> handler);  }