{"action":"created","comment":{"url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/comments/192360484","pull_request_review_id":125123440,"id":192360484,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjM2MDQ4NA==","diff_hunk":"@@ -0,0 +1,171 @@\n+package com.core.tictactoe;\n+\n+import org.junit.jupiter.api.BeforeEach;\n+import org.junit.jupiter.api.Test;\n+\n+import java.util.ArrayList;\n+\n+import static org.hamcrest.CoreMatchers.isA;\n+import static org.hamcrest.MatcherAssert.assertThat;\n+import static org.junit.jupiter.api.Assertions.*;\n+\n+\n+\n+public class BoardTests {\n+\n+    private Board board;\n+    private Player player;\n+    private Player player2;\n+\n+    @BeforeEach\n+    void instantiateBoard() {\n+        board = new Board();\n+        player = new Player(\"X\");\n+        player2 = new Player(\"Y\");\n+    }\n+\n+    @Test\n+    void BoardIsCreatedWithPlacesArray() {\n+        assertThat(board.places,isA(ArrayList.class));\n+    }\n+\n+    @Test\n+    void BoardHasFilledPlacesWhenCreated() {\n+        for(int i = 0; i < 9; i++) {\n+            assertEquals(board.places.get(i),i);\n+        }\n+    }\n+\n+    @Test\n+    void changesSignOnBoardToPlayerSign() {\n+        board.putSignOnBoard(player, 0);\n+\n+        assertEquals(\"X\", board.places.get(0));\n+    }\n+\n+\n+","path":"test/com/core/tictactoe/BoardTests.java","position":47,"original_position":47,"commit_id":"c88c56cbfc6c899907d11803da2ec590842572d1","original_commit_id":"c88c56cbfc6c899907d11803da2ec590842572d1","user":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-06-01T10:46:52Z","updated_at":"2018-06-01T10:46:52Z","html_url":"https://github.com/Kotauror/TicTacToeJava/pull/1#discussion_r192360484","pull_request_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/comments/192360484"},"html":{"href":"https://github.com/Kotauror/TicTacToeJava/pull/1#discussion_r192360484"},"pull_request":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1"}},"in_reply_to_id":192344473},"pull_request":{"url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1","id":190611765,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwNjExNzY1","html_url":"https://github.com/Kotauror/TicTacToeJava/pull/1","diff_url":"https://github.com/Kotauror/TicTacToeJava/pull/1.diff","patch_url":"https://github.com/Kotauror/TicTacToeJava/pull/1.patch","issue_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/1","number":1,"state":"closed","locked":false,"title":"Repetition","user":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"body":"Game after the implementation of second TTT iteration. ","created_at":"2018-05-25T14:48:15Z","updated_at":"2018-06-01T10:46:52Z","closed_at":"2018-05-31T13:23:39Z","merged_at":"2018-05-31T13:23:39Z","merge_commit_sha":"5332bfc8f5b9275f959d4a8ba524afcbfd1e8cc7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/1/comments","statuses_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/statuses/c88c56cbfc6c899907d11803da2ec590842572d1","head":{"label":"Kotauror:repetition","ref":"repetition","sha":"c88c56cbfc6c899907d11803da2ec590842572d1","user":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"repo":{"id":134291662,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyOTE2NjI=","name":"TicTacToeJava","full_name":"Kotauror/TicTacToeJava","owner":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kotauror/TicTacToeJava","description":null,"fork":false,"url":"https://api.github.com/repos/Kotauror/TicTacToeJava","forks_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/forks","keys_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/teams","hooks_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/hooks","issue_events_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/events{/number}","events_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/events","assignees_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/assignees{/user}","branches_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/branches{/branch}","tags_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/tags","blobs_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/languages","stargazers_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/stargazers","contributors_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/contributors","subscribers_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/subscribers","subscription_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/subscription","commits_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/contents/{+path}","compare_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/merges","archive_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/downloads","issues_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues{/number}","pulls_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/labels{/name}","releases_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/releases{/id}","deployments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/deployments","created_at":"2018-05-21T15:57:49Z","updated_at":"2018-06-01T09:54:26Z","pushed_at":"2018-06-01T10:46:33Z","git_url":"git://github.com/Kotauror/TicTacToeJava.git","ssh_url":"git@github.com:Kotauror/TicTacToeJava.git","clone_url":"https://github.com/Kotauror/TicTacToeJava.git","svn_url":"https://github.com/Kotauror/TicTacToeJava","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kotauror:master","ref":"master","sha":"72c29e7d715b94469f183a4e0c9fc9bdb6aa97f3","user":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"repo":{"id":134291662,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyOTE2NjI=","name":"TicTacToeJava","full_name":"Kotauror/TicTacToeJava","owner":{"login":"Kotauror","id":32749113,"node_id":"MDQ6VXNlcjMyNzQ5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/32749113?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotauror","html_url":"https://github.com/Kotauror","followers_url":"https://api.github.com/users/Kotauror/followers","following_url":"https://api.github.com/users/Kotauror/following{/other_user}","gists_url":"https://api.github.com/users/Kotauror/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotauror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotauror/subscriptions","organizations_url":"https://api.github.com/users/Kotauror/orgs","repos_url":"https://api.github.com/users/Kotauror/repos","events_url":"https://api.github.com/users/Kotauror/events{/privacy}","received_events_url":"https://api.github.com/users/Kotauror/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kotauror/TicTacToeJava","description":null,"fork":false,"url":"https://api.github.com/repos/Kotauror/TicTacToeJava","forks_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/forks","keys_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/teams","hooks_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/hooks","issue_events_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/events{/number}","events_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/events","assignees_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/assignees{/user}","branches_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/branches{/branch}","tags_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/tags","blobs_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/languages","stargazers_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/stargazers","contributors_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/contributors","subscribers_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/subscribers","subscription_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/subscription","commits_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/contents/{+path}","compare_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/merges","archive_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/downloads","issues_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues{/number}","pulls_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/labels{/name}","releases_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/releases{/id}","deployments_url":"https://api.github.com/repos/Kotauror/TicTacToeJava/deployments","created_at":"2018-05-21T15:57:49Z","updated_at":"2018-06-01T09:54:26Z","pushed_at":"2018-06-01T10:46:33Z","git_url":"git://github.com/Kotauror/TicTacToeJava.git","ssh_url":"git@github.com:Kotauror/TicTacToeJava.git","clone_url":"https://github.com/Kotauror/TicTacToeJava.git","svn_url":"https://github.com/Kotauror/TicTacToeJava","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1"},"html":{"href":"https://github.com/Kotauror/TicTacToeJava/pull/1"},"issue":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/1"},"comments":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Kotauror/TicTacToeJava/statuses/c88c56cbfc6c899907d11803da2ec590842572d1"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Kotauror"}}