{"action":"created","comment":{"url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/comments/231250671","pull_request_review_id":172180692,"id":231250671,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTI1MDY3MQ==","diff_hunk":"@@ -0,0 +1,117 @@\n+package com.isa.aem.calculatorMethod;\n+\n+import com.isa.aem.CurrencyRepository;\n+import com.isa.aem.FileContentReader;\n+import com.isa.aem.LoadCurrencyNameCountryFlags;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.junit.jupiter.api.DisplayName;\n+\n+import java.util.NoSuchElementException;\n+\n+import static org.junit.jupiter.api.Assertions.assertEquals;;\n+\n+public class CreateAListOfAvailableCurrenciesTest {\n+    private CurrencyRepository currencyRepository = new CurrencyRepository();\n+    private FileContentReader fileContentReader = new FileContentReader();\n+    private CreateAListOfAvailableCurrencies createAListOfAvailableCurrencies;\n+\n+    @Before\n+    public void init() {\n+        fileContentReader.readFile();\n+        fileContentReader.addPLNToListCurrency();\n+        LoadCurrencyNameCountryFlags loadCurrencyNameCountryFlags = new LoadCurrencyNameCountryFlags();\n+    }\n+\n+    @Test\n+    @DisplayName(\"Should return list on size more then zero when currency is correct\")\n+\n+    public void returnsListWithSizeMorThenZeroIfCurrencyExist() {\n+        createAListOfAvailableCurrencies = new CreateAListOfAvailableCurrencies();\n+        // arrange\n+        String currency = \"PLN\";\n+        // act\n+        Boolean result = createAListOfAvailableCurrencies.availableCurrencyObjects(currency).size() > 0;\n+        // assert\n+        assertEquals(true, result);\n+    }\n+\n+    @Test\n+    @DisplayName(\"Should return list on size more then zero when currency is correct and write in lower case\")\n+\n+    public void returnsListWithSizeMorThenZeroIfCurrencyExistAndWhenIsWriteInLowerCase() {","path":"web-app/src/test/com.isa.aem/calculatorMethod/CreateAListOfAvailableCurrenciesTest.java","position":42,"original_position":42,"commit_id":"20acce80485e055f343d058436ff8fc2cda6353c","original_commit_id":"dcf41c7155c855ae8ac8e065189a320c824d1d04","user":{"login":"Elka165","id":28271097,"node_id":"MDQ6VXNlcjI4MjcxMDk3","avatar_url":"https://avatars0.githubusercontent.com/u/28271097?v=4","gravatar_id":"","url":"https://api.github.com/users/Elka165","html_url":"https://github.com/Elka165","followers_url":"https://api.github.com/users/Elka165/followers","following_url":"https://api.github.com/users/Elka165/following{/other_user}","gists_url":"https://api.github.com/users/Elka165/gists{/gist_id}","starred_url":"https://api.github.com/users/Elka165/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elka165/subscriptions","organizations_url":"https://api.github.com/users/Elka165/orgs","repos_url":"https://api.github.com/users/Elka165/repos","events_url":"https://api.github.com/users/Elka165/events{/privacy}","received_events_url":"https://api.github.com/users/Elka165/received_events","type":"User","site_admin":false},"body":"poprawione","created_at":"2018-11-06T19:01:23Z","updated_at":"2018-11-06T19:01:23Z","html_url":"https://github.com/infoshareacademy/jjdz5-aem/pull/44#discussion_r231250671","pull_request_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/comments/231250671"},"html":{"href":"https://github.com/infoshareacademy/jjdz5-aem/pull/44#discussion_r231250671"},"pull_request":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44"}},"in_reply_to_id":230605627},"pull_request":{"url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44","id":226304703,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzA0NzAz","html_url":"https://github.com/infoshareacademy/jjdz5-aem/pull/44","diff_url":"https://github.com/infoshareacademy/jjdz5-aem/pull/44.diff","patch_url":"https://github.com/infoshareacademy/jjdz5-aem/pull/44.patch","issue_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/44","number":44,"state":"open","locked":false,"title":"Feature/test/available range","user":{"login":"Elka165","id":28271097,"node_id":"MDQ6VXNlcjI4MjcxMDk3","avatar_url":"https://avatars0.githubusercontent.com/u/28271097?v=4","gravatar_id":"","url":"https://api.github.com/users/Elka165","html_url":"https://github.com/Elka165","followers_url":"https://api.github.com/users/Elka165/followers","following_url":"https://api.github.com/users/Elka165/following{/other_user}","gists_url":"https://api.github.com/users/Elka165/gists{/gist_id}","starred_url":"https://api.github.com/users/Elka165/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elka165/subscriptions","organizations_url":"https://api.github.com/users/Elka165/orgs","repos_url":"https://api.github.com/users/Elka165/repos","events_url":"https://api.github.com/users/Elka165/events{/privacy}","received_events_url":"https://api.github.com/users/Elka165/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-27T16:06:21Z","updated_at":"2018-11-06T19:01:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4594a412f80d0454b735874a8f6920233af8958","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44/commits","review_comments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44/comments","review_comment_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/44/comments","statuses_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/statuses/20acce80485e055f343d058436ff8fc2cda6353c","head":{"label":"infoshareacademy:feature/test/available-range","ref":"feature/test/available-range","sha":"20acce80485e055f343d058436ff8fc2cda6353c","user":{"login":"infoshareacademy","id":14171731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTcxNzMx","avatar_url":"https://avatars0.githubusercontent.com/u/14171731?v=4","gravatar_id":"","url":"https://api.github.com/users/infoshareacademy","html_url":"https://github.com/infoshareacademy","followers_url":"https://api.github.com/users/infoshareacademy/followers","following_url":"https://api.github.com/users/infoshareacademy/following{/other_user}","gists_url":"https://api.github.com/users/infoshareacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/infoshareacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoshareacademy/subscriptions","organizations_url":"https://api.github.com/users/infoshareacademy/orgs","repos_url":"https://api.github.com/users/infoshareacademy/repos","events_url":"https://api.github.com/users/infoshareacademy/events{/privacy}","received_events_url":"https://api.github.com/users/infoshareacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":137577385,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1NzczODU=","name":"jjdz5-aem","full_name":"infoshareacademy/jjdz5-aem","private":false,"owner":{"login":"infoshareacademy","id":14171731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTcxNzMx","avatar_url":"https://avatars0.githubusercontent.com/u/14171731?v=4","gravatar_id":"","url":"https://api.github.com/users/infoshareacademy","html_url":"https://github.com/infoshareacademy","followers_url":"https://api.github.com/users/infoshareacademy/followers","following_url":"https://api.github.com/users/infoshareacademy/following{/other_user}","gists_url":"https://api.github.com/users/infoshareacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/infoshareacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoshareacademy/subscriptions","organizations_url":"https://api.github.com/users/infoshareacademy/orgs","repos_url":"https://api.github.com/users/infoshareacademy/repos","events_url":"https://api.github.com/users/infoshareacademy/events{/privacy}","received_events_url":"https://api.github.com/users/infoshareacademy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/infoshareacademy/jjdz5-aem","description":null,"fork":false,"url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem","forks_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/forks","keys_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/teams","hooks_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/hooks","issue_events_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/events{/number}","events_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/events","assignees_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/assignees{/user}","branches_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/branches{/branch}","tags_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/tags","blobs_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/refs{/sha}","trees_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/statuses/{sha}","languages_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/languages","stargazers_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/stargazers","contributors_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/contributors","subscribers_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/subscribers","subscription_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/subscription","commits_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/commits{/sha}","git_commits_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/commits{/sha}","comments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/comments{/number}","issue_comment_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/comments{/number}","contents_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/contents/{+path}","compare_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/merges","archive_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/downloads","issues_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues{/number}","pulls_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls{/number}","milestones_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/milestones{/number}","notifications_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/labels{/name}","releases_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/releases{/id}","deployments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/deployments","created_at":"2018-06-16T12:00:17Z","updated_at":"2018-10-23T20:41:35Z","pushed_at":"2018-11-06T18:52:45Z","git_url":"git://github.com/infoshareacademy/jjdz5-aem.git","ssh_url":"git@github.com:infoshareacademy/jjdz5-aem.git","clone_url":"https://github.com/infoshareacademy/jjdz5-aem.git","svn_url":"https://github.com/infoshareacademy/jjdz5-aem","homepage":null,"size":2469,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"infoshareacademy:develop","ref":"develop","sha":"9064803e20359f3b1aa1fca1197adfd87997cbc6","user":{"login":"infoshareacademy","id":14171731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTcxNzMx","avatar_url":"https://avatars0.githubusercontent.com/u/14171731?v=4","gravatar_id":"","url":"https://api.github.com/users/infoshareacademy","html_url":"https://github.com/infoshareacademy","followers_url":"https://api.github.com/users/infoshareacademy/followers","following_url":"https://api.github.com/users/infoshareacademy/following{/other_user}","gists_url":"https://api.github.com/users/infoshareacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/infoshareacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoshareacademy/subscriptions","organizations_url":"https://api.github.com/users/infoshareacademy/orgs","repos_url":"https://api.github.com/users/infoshareacademy/repos","events_url":"https://api.github.com/users/infoshareacademy/events{/privacy}","received_events_url":"https://api.github.com/users/infoshareacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":137577385,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1NzczODU=","name":"jjdz5-aem","full_name":"infoshareacademy/jjdz5-aem","private":false,"owner":{"login":"infoshareacademy","id":14171731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTcxNzMx","avatar_url":"https://avatars0.githubusercontent.com/u/14171731?v=4","gravatar_id":"","url":"https://api.github.com/users/infoshareacademy","html_url":"https://github.com/infoshareacademy","followers_url":"https://api.github.com/users/infoshareacademy/followers","following_url":"https://api.github.com/users/infoshareacademy/following{/other_user}","gists_url":"https://api.github.com/users/infoshareacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/infoshareacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoshareacademy/subscriptions","organizations_url":"https://api.github.com/users/infoshareacademy/orgs","repos_url":"https://api.github.com/users/infoshareacademy/repos","events_url":"https://api.github.com/users/infoshareacademy/events{/privacy}","received_events_url":"https://api.github.com/users/infoshareacademy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/infoshareacademy/jjdz5-aem","description":null,"fork":false,"url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem","forks_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/forks","keys_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/teams","hooks_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/hooks","issue_events_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/events{/number}","events_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/events","assignees_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/assignees{/user}","branches_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/branches{/branch}","tags_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/tags","blobs_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/refs{/sha}","trees_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/statuses/{sha}","languages_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/languages","stargazers_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/stargazers","contributors_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/contributors","subscribers_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/subscribers","subscription_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/subscription","commits_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/commits{/sha}","git_commits_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/git/commits{/sha}","comments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/comments{/number}","issue_comment_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/comments{/number}","contents_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/contents/{+path}","compare_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/merges","archive_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/downloads","issues_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues{/number}","pulls_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls{/number}","milestones_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/milestones{/number}","notifications_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/labels{/name}","releases_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/releases{/id}","deployments_url":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/deployments","created_at":"2018-06-16T12:00:17Z","updated_at":"2018-10-23T20:41:35Z","pushed_at":"2018-11-06T18:52:45Z","git_url":"git://github.com/infoshareacademy/jjdz5-aem.git","ssh_url":"git@github.com:infoshareacademy/jjdz5-aem.git","clone_url":"https://github.com/infoshareacademy/jjdz5-aem.git","svn_url":"https://github.com/infoshareacademy/jjdz5-aem","homepage":null,"size":2469,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44"},"html":{"href":"https://github.com/infoshareacademy/jjdz5-aem/pull/44"},"issue":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/44"},"comments":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/infoshareacademy/jjdz5-aem/statuses/20acce80485e055f343d058436ff8fc2cda6353c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Elka165"}}