package ru.stqa.pft.github;

import com.google.common.collect.ImmutableBiMap;
import com.jcabi.github.*;
import org.testng.annotations.Test;

import java.io.IOException;

/**
 * Created by IrinaIv on 7/9/2017.
 */
public class GithubTests {

  @Test
  public void testCommits() throws IOException {

    Github github = new RtGithub("a947a08420a7dd80e5f74a6d8371a4514b72304c");
    RepoCommits commits = github.repos().get(new Coordinates.Simple("IrinIv", "Java_course")).commits();
    for (RepoCommit commit : commits.iterate(new ImmutableBiMap.Builder<String, String>().build())){
      System.out.println(new RepoCommit.Smart(commit).message());

    }
  }


}

@@ -331,48 +331,47 @@
 ub(%22
-a947a08420a7dd80e5f74a6d8371a4514b72304c
+***************************************
 %22);%0A
@@ -443,29 +443,24 @@
 le(%22
-IrinIv%22, %22Java_course
+******%22, %22******
 %22)).

Update GithubTests.java