{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments/85483230","pull_request_review_id":6195406,"id":85483230,"diff_hunk":"@@ -0,0 +1,98 @@\n+package com.clouway.servlets;\n+\n+import com.clouway.core.HtmlTemplate;\n+import com.clouway.http.servlets.PersonalPageServlet;\n+import org.jmock.Expectations;\n+import org.jmock.integration.junit4.JUnit4Mockery;\n+import org.junit.Test;\n+\n+import javax.servlet.ServletException;\n+import javax.servlet.http.*;\n+import java.io.IOException;\n+import java.io.PrintWriter;\n+import java.io.StringWriter;\n+import java.util.LinkedHashMap;\n+import java.util.Map;\n+\n+import static org.hamcrest.MatcherAssert.assertThat;\n+import static org.hamcrest.core.StringContains.containsString;\n+\n+/**\n+ * @author Borislav Gadjev <gadjevb@gmail.com>\n+ */\n+public class PersonalPageServletTest extends HttpServlet {","path":"task4/src/main/test/com/clouway/servlets/PersonalPageServletTest.java","position":23,"original_position":23,"commit_id":"7fb925514dbe3b623012422cab80b2592043b651","original_commit_id":"7fb925514dbe3b623012422cab80b2592043b651","user":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"body":".","created_at":"2016-10-28T07:27:45Z","updated_at":"2016-10-28T07:29:48Z","html_url":"https://github.com/clouway-incubator/servlets/pull/78#discussion_r85483230","pull_request_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments/85483230"},"html":{"href":"https://github.com/clouway-incubator/servlets/pull/78#discussion_r85483230"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78","id":89576032,"html_url":"https://github.com/clouway-incubator/servlets/pull/78","diff_url":"https://github.com/clouway-incubator/servlets/pull/78.diff","patch_url":"https://github.com/clouway-incubator/servlets/pull/78.patch","issue_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/78","number":78,"state":"open","locked":false,"title":"bank: login","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"body":"Login functionality of the bank, uses username and password to validate the request.\r\n\r\n![login](https://cloud.githubusercontent.com/assets/19385077/19550277/693410b8-96b1-11e6-8d32-8352dcdd357d.png)\r\n\r\n![personal](https://cloud.githubusercontent.com/assets/19385077/19550279/6de8d63e-96b1-11e6-937a-6475cb9a19a0.png)\r\n\r\n","created_at":"2016-10-17T07:56:36Z","updated_at":"2016-10-28T07:29:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af6d036981ff857e0d2e0ab3fdf68b1e7ff7ee59","assignee":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"assignees":[{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/78/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/servlets/statuses/7fb925514dbe3b623012422cab80b2592043b651","head":{"label":"gadjevb:login","ref":"login","sha":"7fb925514dbe3b623012422cab80b2592043b651","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"repo":{"id":68595020,"name":"servlets","full_name":"gadjevb/servlets","owner":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gadjevb/servlets","description":"Servlets ","fork":true,"url":"https://api.github.com/repos/gadjevb/servlets","forks_url":"https://api.github.com/repos/gadjevb/servlets/forks","keys_url":"https://api.github.com/repos/gadjevb/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gadjevb/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gadjevb/servlets/teams","hooks_url":"https://api.github.com/repos/gadjevb/servlets/hooks","issue_events_url":"https://api.github.com/repos/gadjevb/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/gadjevb/servlets/events","assignees_url":"https://api.github.com/repos/gadjevb/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/gadjevb/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/gadjevb/servlets/tags","blobs_url":"https://api.github.com/repos/gadjevb/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gadjevb/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gadjevb/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/gadjevb/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gadjevb/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/gadjevb/servlets/languages","stargazers_url":"https://api.github.com/repos/gadjevb/servlets/stargazers","contributors_url":"https://api.github.com/repos/gadjevb/servlets/contributors","subscribers_url":"https://api.github.com/repos/gadjevb/servlets/subscribers","subscription_url":"https://api.github.com/repos/gadjevb/servlets/subscription","commits_url":"https://api.github.com/repos/gadjevb/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/gadjevb/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/gadjevb/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/gadjevb/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/gadjevb/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/gadjevb/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gadjevb/servlets/merges","archive_url":"https://api.github.com/repos/gadjevb/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gadjevb/servlets/downloads","issues_url":"https://api.github.com/repos/gadjevb/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/gadjevb/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/gadjevb/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/gadjevb/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gadjevb/servlets/labels{/name}","releases_url":"https://api.github.com/repos/gadjevb/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/gadjevb/servlets/deployments","created_at":"2016-09-19T10:24:39Z","updated_at":"2015-10-15T06:53:35Z","pushed_at":"2016-10-28T07:21:10Z","git_url":"git://github.com/gadjevb/servlets.git","ssh_url":"git@github.com:gadjevb/servlets.git","clone_url":"https://github.com/gadjevb/servlets.git","svn_url":"https://github.com/gadjevb/servlets","homepage":null,"size":6280,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clouway-incubator:gadjevb_bank","ref":"gadjevb_bank","sha":"88e89f26da0906c3c2849562a3d735419e5f7ea4","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":44299216,"name":"servlets","full_name":"clouway-incubator/servlets","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/servlets","description":"Servlets ","fork":false,"url":"https://api.github.com/repos/clouway-incubator/servlets","forks_url":"https://api.github.com/repos/clouway-incubator/servlets/forks","keys_url":"https://api.github.com/repos/clouway-incubator/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/servlets/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/servlets/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/servlets/events","assignees_url":"https://api.github.com/repos/clouway-incubator/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/servlets/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/servlets/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/servlets/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/servlets/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/servlets/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/servlets/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/servlets/merges","archive_url":"https://api.github.com/repos/clouway-incubator/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/servlets/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/servlets/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/clouway-incubator/servlets/deployments","created_at":"2015-10-15T06:53:35Z","updated_at":"2015-10-15T06:53:35Z","pushed_at":"2016-10-28T07:21:11Z","git_url":"git://github.com/clouway-incubator/servlets.git","ssh_url":"git@github.com:clouway-incubator/servlets.git","clone_url":"https://github.com/clouway-incubator/servlets.git","svn_url":"https://github.com/clouway-incubator/servlets","homepage":null,"size":7124,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":14,"forks":7,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78"},"html":{"href":"https://github.com/clouway-incubator/servlets/pull/78"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/servlets/issues/78"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/servlets/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/servlets/statuses/7fb925514dbe3b623012422cab80b2592043b651"}}}}
{"actor":{"display_login":"freekman"}}