{"action":"created","comment":{"url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/comments/182637005","pull_request_review_id":113470977,"id":182637005,"diff_hunk":"@@ -0,0 +1,59 @@\n+package eu.chargetime.ocpp.feature.profile.test;\n+/*\n+    ChargeTime.eu - Java-OCA-OCPP\n+\n+    MIT License\n+\n+    Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu>\n+    Copyright (C) 2018 Mikhail Kladkevich <kladmv@ecp-share.com>\n+\n+    Permission is hereby granted, free of charge, to any person obtaining a copy\n+    of this software and associated documentation files (the \"Software\"), to deal\n+    in the Software without restriction, including without limitation the rights\n+    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+    copies of the Software, and to permit persons to whom the Software is\n+    furnished to do so, subject to the following conditions:\n+\n+    The above copyright notice and this permission notice shall be included in all\n+    copies or substantial portions of the Software.\n+\n+    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+    SOFTWARE.\n+ */\n+\n+import eu.chargetime.ocpp.feature.*;\n+import eu.chargetime.ocpp.feature.profile.ServerReservationProfile;\n+import org.hamcrest.core.Is;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.junit.runner.RunWith;\n+import org.mockito.runners.MockitoJUnitRunner;\n+\n+import static org.hamcrest.CoreMatchers.instanceOf;\n+import static org.junit.Assert.assertThat;\n+\n+@RunWith(MockitoJUnitRunner.class)\n+public class ServerReservationProfileTest extends ProfileTest {\n+\n+    ServerReservationProfile profile;\n+\n+    @Before\n+    public void setup() {\n+        profile = new ServerReservationProfile();\n+    }\n+\n+    @Test\n+    public void getFeatureList_containsAllNeededFeatures() {","path":"ocpp-v1_6/src/test/java/eu/chargetime/ocpp/feature/profile/test/ServerReservationProfileTest.java","position":51,"original_position":51,"commit_id":"7d444db1394f787870ae55ea19b70e34a9c7ecb8","original_commit_id":"7d444db1394f787870ae55ea19b70e34a9c7ecb8","user":{"login":"sumlin","id":3495838,"avatar_url":"https://avatars3.githubusercontent.com/u/3495838?v=4","gravatar_id":"","url":"https://api.github.com/users/sumlin","html_url":"https://github.com/sumlin","followers_url":"https://api.github.com/users/sumlin/followers","following_url":"https://api.github.com/users/sumlin/following{/other_user}","gists_url":"https://api.github.com/users/sumlin/gists{/gist_id}","starred_url":"https://api.github.com/users/sumlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumlin/subscriptions","organizations_url":"https://api.github.com/users/sumlin/orgs","repos_url":"https://api.github.com/users/sumlin/repos","events_url":"https://api.github.com/users/sumlin/events{/privacy}","received_events_url":"https://api.github.com/users/sumlin/received_events","type":"User","site_admin":false},"body":"Fixed there and in all another places.","created_at":"2018-04-19T05:32:57Z","updated_at":"2018-04-19T05:32:57Z","html_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51#discussion_r182637005","pull_request_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/comments/182637005"},"html":{"href":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51#discussion_r182637005"},"pull_request":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51"}},"in_reply_to_id":182212372},"pull_request":{"url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51","id":182147877,"html_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51","diff_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51.diff","patch_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51.patch","issue_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/51","number":51,"state":"open","locked":false,"title":"Add reserve now","user":{"login":"sumlin","id":3495838,"avatar_url":"https://avatars3.githubusercontent.com/u/3495838?v=4","gravatar_id":"","url":"https://api.github.com/users/sumlin","html_url":"https://github.com/sumlin","followers_url":"https://api.github.com/users/sumlin/followers","following_url":"https://api.github.com/users/sumlin/following{/other_user}","gists_url":"https://api.github.com/users/sumlin/gists{/gist_id}","starred_url":"https://api.github.com/users/sumlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumlin/subscriptions","organizations_url":"https://api.github.com/users/sumlin/orgs","repos_url":"https://api.github.com/users/sumlin/repos","events_url":"https://api.github.com/users/sumlin/events{/privacy}","received_events_url":"https://api.github.com/users/sumlin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-17T12:23:59Z","updated_at":"2018-04-19T05:32:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72d13711d36385c14cfbea5c7795456c9b871a76","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51/commits","review_comments_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51/comments","review_comment_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/51/comments","statuses_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/statuses/7d444db1394f787870ae55ea19b70e34a9c7ecb8","head":{"label":"sumlin:feature/AddReserveNow","ref":"feature/AddReserveNow","sha":"7d444db1394f787870ae55ea19b70e34a9c7ecb8","user":{"login":"sumlin","id":3495838,"avatar_url":"https://avatars3.githubusercontent.com/u/3495838?v=4","gravatar_id":"","url":"https://api.github.com/users/sumlin","html_url":"https://github.com/sumlin","followers_url":"https://api.github.com/users/sumlin/followers","following_url":"https://api.github.com/users/sumlin/following{/other_user}","gists_url":"https://api.github.com/users/sumlin/gists{/gist_id}","starred_url":"https://api.github.com/users/sumlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumlin/subscriptions","organizations_url":"https://api.github.com/users/sumlin/orgs","repos_url":"https://api.github.com/users/sumlin/repos","events_url":"https://api.github.com/users/sumlin/events{/privacy}","received_events_url":"https://api.github.com/users/sumlin/received_events","type":"User","site_admin":false},"repo":{"id":129597920,"name":"Java-OCA-OCPP","full_name":"sumlin/Java-OCA-OCPP","owner":{"login":"sumlin","id":3495838,"avatar_url":"https://avatars3.githubusercontent.com/u/3495838?v=4","gravatar_id":"","url":"https://api.github.com/users/sumlin","html_url":"https://github.com/sumlin","followers_url":"https://api.github.com/users/sumlin/followers","following_url":"https://api.github.com/users/sumlin/following{/other_user}","gists_url":"https://api.github.com/users/sumlin/gists{/gist_id}","starred_url":"https://api.github.com/users/sumlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumlin/subscriptions","organizations_url":"https://api.github.com/users/sumlin/orgs","repos_url":"https://api.github.com/users/sumlin/repos","events_url":"https://api.github.com/users/sumlin/events{/privacy}","received_events_url":"https://api.github.com/users/sumlin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sumlin/Java-OCA-OCPP","description":"Client and server library of Open Charge-Point Protocol from openchargealliance.org","fork":true,"url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP","forks_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/forks","keys_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/teams","hooks_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/hooks","issue_events_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/issues/events{/number}","events_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/events","assignees_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/assignees{/user}","branches_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/branches{/branch}","tags_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/tags","blobs_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/statuses/{sha}","languages_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/languages","stargazers_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/stargazers","contributors_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/contributors","subscribers_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/subscribers","subscription_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/subscription","commits_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/contents/{+path}","compare_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/merges","archive_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/downloads","issues_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/issues{/number}","pulls_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/pulls{/number}","milestones_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/milestones{/number}","notifications_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/labels{/name}","releases_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/releases{/id}","deployments_url":"https://api.github.com/repos/sumlin/Java-OCA-OCPP/deployments","created_at":"2018-04-15T10:05:17Z","updated_at":"2018-04-19T05:31:28Z","pushed_at":"2018-04-19T05:31:22Z","git_url":"git://github.com/sumlin/Java-OCA-OCPP.git","ssh_url":"git@github.com:sumlin/Java-OCA-OCPP.git","clone_url":"https://github.com/sumlin/Java-OCA-OCPP.git","svn_url":"https://github.com/sumlin/Java-OCA-OCPP","homepage":null,"size":972,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ChargeTimeEU:master","ref":"master","sha":"48213886d63c19ef48d4170988b6d4256221e7f7","user":{"login":"ChargeTimeEU","id":19155134,"avatar_url":"https://avatars1.githubusercontent.com/u/19155134?v=4","gravatar_id":"","url":"https://api.github.com/users/ChargeTimeEU","html_url":"https://github.com/ChargeTimeEU","followers_url":"https://api.github.com/users/ChargeTimeEU/followers","following_url":"https://api.github.com/users/ChargeTimeEU/following{/other_user}","gists_url":"https://api.github.com/users/ChargeTimeEU/gists{/gist_id}","starred_url":"https://api.github.com/users/ChargeTimeEU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChargeTimeEU/subscriptions","organizations_url":"https://api.github.com/users/ChargeTimeEU/orgs","repos_url":"https://api.github.com/users/ChargeTimeEU/repos","events_url":"https://api.github.com/users/ChargeTimeEU/events{/privacy}","received_events_url":"https://api.github.com/users/ChargeTimeEU/received_events","type":"Organization","site_admin":false},"repo":{"id":57921720,"name":"Java-OCA-OCPP","full_name":"ChargeTimeEU/Java-OCA-OCPP","owner":{"login":"ChargeTimeEU","id":19155134,"avatar_url":"https://avatars1.githubusercontent.com/u/19155134?v=4","gravatar_id":"","url":"https://api.github.com/users/ChargeTimeEU","html_url":"https://github.com/ChargeTimeEU","followers_url":"https://api.github.com/users/ChargeTimeEU/followers","following_url":"https://api.github.com/users/ChargeTimeEU/following{/other_user}","gists_url":"https://api.github.com/users/ChargeTimeEU/gists{/gist_id}","starred_url":"https://api.github.com/users/ChargeTimeEU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChargeTimeEU/subscriptions","organizations_url":"https://api.github.com/users/ChargeTimeEU/orgs","repos_url":"https://api.github.com/users/ChargeTimeEU/repos","events_url":"https://api.github.com/users/ChargeTimeEU/events{/privacy}","received_events_url":"https://api.github.com/users/ChargeTimeEU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP","description":"Client and server library of Open Charge-Point Protocol from openchargealliance.org","fork":false,"url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP","forks_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/forks","keys_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/teams","hooks_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/hooks","issue_events_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/events{/number}","events_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/events","assignees_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/assignees{/user}","branches_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/branches{/branch}","tags_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/tags","blobs_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/statuses/{sha}","languages_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/languages","stargazers_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/stargazers","contributors_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/contributors","subscribers_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/subscribers","subscription_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/subscription","commits_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/contents/{+path}","compare_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/merges","archive_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/downloads","issues_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues{/number}","pulls_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls{/number}","milestones_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/milestones{/number}","notifications_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/labels{/name}","releases_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/releases{/id}","deployments_url":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/deployments","created_at":"2016-05-02T21:09:35Z","updated_at":"2018-04-18T10:53:34Z","pushed_at":"2018-04-19T00:11:40Z","git_url":"git://github.com/ChargeTimeEU/Java-OCA-OCPP.git","ssh_url":"git@github.com:ChargeTimeEU/Java-OCA-OCPP.git","clone_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP.git","svn_url":"https://github.com/ChargeTimeEU/Java-OCA-OCPP","homepage":null,"size":1007,"stargazers_count":30,"watchers_count":30,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":25,"open_issues":8,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51"},"html":{"href":"https://github.com/ChargeTimeEU/Java-OCA-OCPP/pull/51"},"issue":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/51"},"comments":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/ChargeTimeEU/Java-OCA-OCPP/statuses/7d444db1394f787870ae55ea19b70e34a9c7ecb8"}},"author_association":"NONE"}}
{"actor":{"display_login":"sumlin"}}