{"action":"created","comment":{"url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/comments/165849428","pull_request_review_id":93849219,"id":165849428,"diff_hunk":"@@ -0,0 +1,67 @@\n+package hometask.serviceImplement;\n+\n+import hometask.domain.Auditorium;\n+import hometask.service.AuditoriumService;\n+import org.junit.Assert;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.test.context.ContextConfiguration;\n+import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;\n+\n+import java.io.IOException;\n+import java.util.*;\n+\n+@ContextConfiguration(locations = \"classpath:generalContext.xml\")\n+public class TestAuditoriumServiceImplement extends AbstractTestNGSpringContextTests {\n+\n+    @Autowired\n+    private AuditoriumService auditoriumService;\n+    private Auditorium auditoriumOne;\n+    private  Auditorium auditoriumTwo;\n+    private  Auditorium auditoriumThree;\n+\n+    @Before\n+    public void initClass() throws IOException {\n+        auditoriumOne = new Auditorium();\n+        auditoriumTwo = new Auditorium();\n+        auditoriumThree = new Auditorium();\n+        auditoriumOne.setName(\"ruby\");\n+        auditoriumOne.setNumberOfSeats(100);\n+        Long[] arraySeatsOne =  {1l,2l,3l,4l,5l,6l,7l,8l,9l,10l};","path":"src/test/java/hometask/serviceImplement/TestAuditoriumServiceImplement.java","position":31,"original_position":31,"commit_id":"2c787828694ffa7987ec94aea4e039c76ec73cae","original_commit_id":"2c787828694ffa7987ec94aea4e039c76ec73cae","user":{"login":"leoShabalkin","id":20455820,"avatar_url":"https://avatars2.githubusercontent.com/u/20455820?v=4","gravatar_id":"","url":"https://api.github.com/users/leoShabalkin","html_url":"https://github.com/leoShabalkin","followers_url":"https://api.github.com/users/leoShabalkin/followers","following_url":"https://api.github.com/users/leoShabalkin/following{/other_user}","gists_url":"https://api.github.com/users/leoShabalkin/gists{/gist_id}","starred_url":"https://api.github.com/users/leoShabalkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoShabalkin/subscriptions","organizations_url":"https://api.github.com/users/leoShabalkin/orgs","repos_url":"https://api.github.com/users/leoShabalkin/repos","events_url":"https://api.github.com/users/leoShabalkin/events{/privacy}","received_events_url":"https://api.github.com/users/leoShabalkin/received_events","type":"User","site_admin":false},"body":"если long, так указывай long 11L","created_at":"2018-02-04T16:24:22Z","updated_at":"2018-02-04T16:27:48Z","html_url":"https://github.com/EPAMOlgaFedorova/Spring/pull/1#discussion_r165849428","pull_request_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/comments/165849428"},"html":{"href":"https://github.com/EPAMOlgaFedorova/Spring/pull/1#discussion_r165849428"},"pull_request":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1","id":166444535,"html_url":"https://github.com/EPAMOlgaFedorova/Spring/pull/1","diff_url":"https://github.com/EPAMOlgaFedorova/Spring/pull/1.diff","patch_url":"https://github.com/EPAMOlgaFedorova/Spring/pull/1.patch","issue_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/1","number":1,"state":"open","locked":false,"title":"Develop","user":{"login":"EPAMOlgaFedorova","id":34719936,"avatar_url":"https://avatars2.githubusercontent.com/u/34719936?v=4","gravatar_id":"","url":"https://api.github.com/users/EPAMOlgaFedorova","html_url":"https://github.com/EPAMOlgaFedorova","followers_url":"https://api.github.com/users/EPAMOlgaFedorova/followers","following_url":"https://api.github.com/users/EPAMOlgaFedorova/following{/other_user}","gists_url":"https://api.github.com/users/EPAMOlgaFedorova/gists{/gist_id}","starred_url":"https://api.github.com/users/EPAMOlgaFedorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPAMOlgaFedorova/subscriptions","organizations_url":"https://api.github.com/users/EPAMOlgaFedorova/orgs","repos_url":"https://api.github.com/users/EPAMOlgaFedorova/repos","events_url":"https://api.github.com/users/EPAMOlgaFedorova/events{/privacy}","received_events_url":"https://api.github.com/users/EPAMOlgaFedorova/received_events","type":"User","site_admin":false},"body":"First task","created_at":"2018-02-01T05:03:36Z","updated_at":"2018-02-04T16:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40a38f11861167782feaeccbee2970d1903ffa68","assignee":{"login":"leoShabalkin","id":20455820,"avatar_url":"https://avatars2.githubusercontent.com/u/20455820?v=4","gravatar_id":"","url":"https://api.github.com/users/leoShabalkin","html_url":"https://github.com/leoShabalkin","followers_url":"https://api.github.com/users/leoShabalkin/followers","following_url":"https://api.github.com/users/leoShabalkin/following{/other_user}","gists_url":"https://api.github.com/users/leoShabalkin/gists{/gist_id}","starred_url":"https://api.github.com/users/leoShabalkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoShabalkin/subscriptions","organizations_url":"https://api.github.com/users/leoShabalkin/orgs","repos_url":"https://api.github.com/users/leoShabalkin/repos","events_url":"https://api.github.com/users/leoShabalkin/events{/privacy}","received_events_url":"https://api.github.com/users/leoShabalkin/received_events","type":"User","site_admin":false},"assignees":[{"login":"leoShabalkin","id":20455820,"avatar_url":"https://avatars2.githubusercontent.com/u/20455820?v=4","gravatar_id":"","url":"https://api.github.com/users/leoShabalkin","html_url":"https://github.com/leoShabalkin","followers_url":"https://api.github.com/users/leoShabalkin/followers","following_url":"https://api.github.com/users/leoShabalkin/following{/other_user}","gists_url":"https://api.github.com/users/leoShabalkin/gists{/gist_id}","starred_url":"https://api.github.com/users/leoShabalkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoShabalkin/subscriptions","organizations_url":"https://api.github.com/users/leoShabalkin/orgs","repos_url":"https://api.github.com/users/leoShabalkin/repos","events_url":"https://api.github.com/users/leoShabalkin/events{/privacy}","received_events_url":"https://api.github.com/users/leoShabalkin/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1/commits","review_comments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1/comments","review_comment_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/1/comments","statuses_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/statuses/2c787828694ffa7987ec94aea4e039c76ec73cae","head":{"label":"EPAMOlgaFedorova:develop","ref":"develop","sha":"2c787828694ffa7987ec94aea4e039c76ec73cae","user":{"login":"EPAMOlgaFedorova","id":34719936,"avatar_url":"https://avatars2.githubusercontent.com/u/34719936?v=4","gravatar_id":"","url":"https://api.github.com/users/EPAMOlgaFedorova","html_url":"https://github.com/EPAMOlgaFedorova","followers_url":"https://api.github.com/users/EPAMOlgaFedorova/followers","following_url":"https://api.github.com/users/EPAMOlgaFedorova/following{/other_user}","gists_url":"https://api.github.com/users/EPAMOlgaFedorova/gists{/gist_id}","starred_url":"https://api.github.com/users/EPAMOlgaFedorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPAMOlgaFedorova/subscriptions","organizations_url":"https://api.github.com/users/EPAMOlgaFedorova/orgs","repos_url":"https://api.github.com/users/EPAMOlgaFedorova/repos","events_url":"https://api.github.com/users/EPAMOlgaFedorova/events{/privacy}","received_events_url":"https://api.github.com/users/EPAMOlgaFedorova/received_events","type":"User","site_admin":false},"repo":{"id":118416760,"name":"Spring","full_name":"EPAMOlgaFedorova/Spring","owner":{"login":"EPAMOlgaFedorova","id":34719936,"avatar_url":"https://avatars2.githubusercontent.com/u/34719936?v=4","gravatar_id":"","url":"https://api.github.com/users/EPAMOlgaFedorova","html_url":"https://github.com/EPAMOlgaFedorova","followers_url":"https://api.github.com/users/EPAMOlgaFedorova/followers","following_url":"https://api.github.com/users/EPAMOlgaFedorova/following{/other_user}","gists_url":"https://api.github.com/users/EPAMOlgaFedorova/gists{/gist_id}","starred_url":"https://api.github.com/users/EPAMOlgaFedorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPAMOlgaFedorova/subscriptions","organizations_url":"https://api.github.com/users/EPAMOlgaFedorova/orgs","repos_url":"https://api.github.com/users/EPAMOlgaFedorova/repos","events_url":"https://api.github.com/users/EPAMOlgaFedorova/events{/privacy}","received_events_url":"https://api.github.com/users/EPAMOlgaFedorova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EPAMOlgaFedorova/Spring","description":null,"fork":false,"url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring","forks_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/forks","keys_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/teams","hooks_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/hooks","issue_events_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/events{/number}","events_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/events","assignees_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/assignees{/user}","branches_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/branches{/branch}","tags_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/tags","blobs_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/statuses/{sha}","languages_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/languages","stargazers_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/stargazers","contributors_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/contributors","subscribers_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/subscribers","subscription_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/subscription","commits_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/contents/{+path}","compare_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/merges","archive_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/downloads","issues_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues{/number}","pulls_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls{/number}","milestones_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/milestones{/number}","notifications_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/labels{/name}","releases_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/releases{/id}","deployments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/deployments","created_at":"2018-01-22T06:37:05Z","updated_at":"2018-01-22T06:37:05Z","pushed_at":"2018-02-02T14:20:09Z","git_url":"git://github.com/EPAMOlgaFedorova/Spring.git","ssh_url":"git@github.com:EPAMOlgaFedorova/Spring.git","clone_url":"https://github.com/EPAMOlgaFedorova/Spring.git","svn_url":"https://github.com/EPAMOlgaFedorova/Spring","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":null,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"EPAMOlgaFedorova:master","ref":"master","sha":"eeb9155ce80494ce52c0c5ecbd32f65f55ddd593","user":{"login":"EPAMOlgaFedorova","id":34719936,"avatar_url":"https://avatars2.githubusercontent.com/u/34719936?v=4","gravatar_id":"","url":"https://api.github.com/users/EPAMOlgaFedorova","html_url":"https://github.com/EPAMOlgaFedorova","followers_url":"https://api.github.com/users/EPAMOlgaFedorova/followers","following_url":"https://api.github.com/users/EPAMOlgaFedorova/following{/other_user}","gists_url":"https://api.github.com/users/EPAMOlgaFedorova/gists{/gist_id}","starred_url":"https://api.github.com/users/EPAMOlgaFedorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPAMOlgaFedorova/subscriptions","organizations_url":"https://api.github.com/users/EPAMOlgaFedorova/orgs","repos_url":"https://api.github.com/users/EPAMOlgaFedorova/repos","events_url":"https://api.github.com/users/EPAMOlgaFedorova/events{/privacy}","received_events_url":"https://api.github.com/users/EPAMOlgaFedorova/received_events","type":"User","site_admin":false},"repo":{"id":118416760,"name":"Spring","full_name":"EPAMOlgaFedorova/Spring","owner":{"login":"EPAMOlgaFedorova","id":34719936,"avatar_url":"https://avatars2.githubusercontent.com/u/34719936?v=4","gravatar_id":"","url":"https://api.github.com/users/EPAMOlgaFedorova","html_url":"https://github.com/EPAMOlgaFedorova","followers_url":"https://api.github.com/users/EPAMOlgaFedorova/followers","following_url":"https://api.github.com/users/EPAMOlgaFedorova/following{/other_user}","gists_url":"https://api.github.com/users/EPAMOlgaFedorova/gists{/gist_id}","starred_url":"https://api.github.com/users/EPAMOlgaFedorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPAMOlgaFedorova/subscriptions","organizations_url":"https://api.github.com/users/EPAMOlgaFedorova/orgs","repos_url":"https://api.github.com/users/EPAMOlgaFedorova/repos","events_url":"https://api.github.com/users/EPAMOlgaFedorova/events{/privacy}","received_events_url":"https://api.github.com/users/EPAMOlgaFedorova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EPAMOlgaFedorova/Spring","description":null,"fork":false,"url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring","forks_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/forks","keys_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/teams","hooks_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/hooks","issue_events_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/events{/number}","events_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/events","assignees_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/assignees{/user}","branches_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/branches{/branch}","tags_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/tags","blobs_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/statuses/{sha}","languages_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/languages","stargazers_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/stargazers","contributors_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/contributors","subscribers_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/subscribers","subscription_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/subscription","commits_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/contents/{+path}","compare_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/merges","archive_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/downloads","issues_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues{/number}","pulls_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls{/number}","milestones_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/milestones{/number}","notifications_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/labels{/name}","releases_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/releases{/id}","deployments_url":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/deployments","created_at":"2018-01-22T06:37:05Z","updated_at":"2018-01-22T06:37:05Z","pushed_at":"2018-02-02T14:20:09Z","git_url":"git://github.com/EPAMOlgaFedorova/Spring.git","ssh_url":"git@github.com:EPAMOlgaFedorova/Spring.git","clone_url":"https://github.com/EPAMOlgaFedorova/Spring.git","svn_url":"https://github.com/EPAMOlgaFedorova/Spring","homepage":null,"size":210,"stargazers_count":0,"watchers_count":0,"language":null,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1"},"html":{"href":"https://github.com/EPAMOlgaFedorova/Spring/pull/1"},"issue":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/1"},"comments":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/EPAMOlgaFedorova/Spring/statuses/2c787828694ffa7987ec94aea4e039c76ec73cae"}},"author_association":"OWNER"}}
{"actor":{"display_login":"leoShabalkin"}}