{"action":"created","comment":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/46883414","id":46883414,"diff_hunk":"@@ -107,9 +105,12 @@ public void createContainerWithVolume() throws DockerException {\n \n         assertThat(inspectContainerResponse.getConfig().getVolumes().keySet(), contains(\"/var/log\"));\n \n-        assertThat(inspectContainerResponse.getVolumesRW(), hasItemInArray(new VolumeRW(volume, AccessMode.rw)));\n+        assertEquals(inspectContainerResponse.getMounts().get(0).getDestination(), volume);\n+        assertEquals(inspectContainerResponse.getMounts().get(0).getMode(), AccessMode.rw);","path":"src/test/java/com/github/dockerjava/core/command/CreateContainerCmdImplTest.java","position":67,"original_position":67,"commit_id":"61bcaa70a32a5b5e3b6556dfb2b84e5cba575e8e","original_commit_id":"61bcaa70a32a5b5e3b6556dfb2b84e5cba575e8e","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"btw, maybe better `AssertThat(..., equalTo(...))` ?","created_at":"2015-12-07T21:53:45Z","updated_at":"2015-12-07T21:53:45Z","html_url":"https://github.com/docker-java/docker-java/pull/392#discussion_r46883414","pull_request_url":"https://api.github.com/repos/docker-java/docker-java/pulls/392","_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/46883414"},"html":{"href":"https://github.com/docker-java/docker-java/pull/392#discussion_r46883414"},"pull_request":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/392","id":52904726,"html_url":"https://github.com/docker-java/docker-java/pull/392","diff_url":"https://github.com/docker-java/docker-java/pull/392.diff","patch_url":"https://github.com/docker-java/docker-java/pull/392.patch","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/392","number":392,"state":"open","locked":false,"title":"Introduce InspectContainerResponse.Mounts ","user":{"login":"marcuslinke","id":2578608,"avatar_url":"https://avatars.githubusercontent.com/u/2578608?v=3","gravatar_id":"","url":"https://api.github.com/users/marcuslinke","html_url":"https://github.com/marcuslinke","followers_url":"https://api.github.com/users/marcuslinke/followers","following_url":"https://api.github.com/users/marcuslinke/following{/other_user}","gists_url":"https://api.github.com/users/marcuslinke/gists{/gist_id}","starred_url":"https://api.github.com/users/marcuslinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcuslinke/subscriptions","organizations_url":"https://api.github.com/users/marcuslinke/orgs","repos_url":"https://api.github.com/users/marcuslinke/repos","events_url":"https://api.github.com/users/marcuslinke/events{/privacy}","received_events_url":"https://api.github.com/users/marcuslinke/received_events","type":"User","site_admin":false},"body":"which fixes issue #388","created_at":"2015-12-07T21:39:23Z","updated_at":"2015-12-07T21:53:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f3535a0f1a737fe3b9799908c93bbb7a52640cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-java/docker-java/pulls/392/commits","review_comments_url":"https://api.github.com/repos/docker-java/docker-java/pulls/392/comments","review_comment_url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/392/comments","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/61bcaa70a32a5b5e3b6556dfb2b84e5cba575e8e","head":{"label":"docker-java:issue-388","ref":"issue-388","sha":"61bcaa70a32a5b5e3b6556dfb2b84e5cba575e8e","user":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"repo":{"id":20415251,"name":"docker-java","full_name":"docker-java/docker-java","owner":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-java/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/docker-java/docker-java","forks_url":"https://api.github.com/repos/docker-java/docker-java/forks","keys_url":"https://api.github.com/repos/docker-java/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-java/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-java/docker-java/teams","hooks_url":"https://api.github.com/repos/docker-java/docker-java/hooks","issue_events_url":"https://api.github.com/repos/docker-java/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/docker-java/docker-java/events","assignees_url":"https://api.github.com/repos/docker-java/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/docker-java/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/docker-java/docker-java/tags","blobs_url":"https://api.github.com/repos/docker-java/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-java/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-java/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-java/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-java/docker-java/languages","stargazers_url":"https://api.github.com/repos/docker-java/docker-java/stargazers","contributors_url":"https://api.github.com/repos/docker-java/docker-java/contributors","subscribers_url":"https://api.github.com/repos/docker-java/docker-java/subscribers","subscription_url":"https://api.github.com/repos/docker-java/docker-java/subscription","commits_url":"https://api.github.com/repos/docker-java/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-java/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-java/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-java/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-java/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/docker-java/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-java/docker-java/merges","archive_url":"https://api.github.com/repos/docker-java/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-java/docker-java/downloads","issues_url":"https://api.github.com/repos/docker-java/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/docker-java/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-java/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-java/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-java/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/docker-java/docker-java/releases{/id}","created_at":"2014-06-02T18:47:31Z","updated_at":"2015-12-07T06:47:13Z","pushed_at":"2015-12-07T21:39:24Z","git_url":"git://github.com/docker-java/docker-java.git","ssh_url":"git@github.com:docker-java/docker-java.git","clone_url":"https://github.com/docker-java/docker-java.git","svn_url":"https://github.com/docker-java/docker-java","homepage":"","size":2796,"stargazers_count":282,"watchers_count":282,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":40,"forks":192,"open_issues":40,"watchers":282,"default_branch":"master"}},"base":{"label":"docker-java:master","ref":"master","sha":"6bea0f5bedd7c78a8e5e084f7e9ce77afeab3bbc","user":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"repo":{"id":20415251,"name":"docker-java","full_name":"docker-java/docker-java","owner":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-java/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/docker-java/docker-java","forks_url":"https://api.github.com/repos/docker-java/docker-java/forks","keys_url":"https://api.github.com/repos/docker-java/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-java/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-java/docker-java/teams","hooks_url":"https://api.github.com/repos/docker-java/docker-java/hooks","issue_events_url":"https://api.github.com/repos/docker-java/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/docker-java/docker-java/events","assignees_url":"https://api.github.com/repos/docker-java/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/docker-java/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/docker-java/docker-java/tags","blobs_url":"https://api.github.com/repos/docker-java/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-java/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-java/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-java/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-java/docker-java/languages","stargazers_url":"https://api.github.com/repos/docker-java/docker-java/stargazers","contributors_url":"https://api.github.com/repos/docker-java/docker-java/contributors","subscribers_url":"https://api.github.com/repos/docker-java/docker-java/subscribers","subscription_url":"https://api.github.com/repos/docker-java/docker-java/subscription","commits_url":"https://api.github.com/repos/docker-java/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-java/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-java/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-java/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-java/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/docker-java/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-java/docker-java/merges","archive_url":"https://api.github.com/repos/docker-java/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-java/docker-java/downloads","issues_url":"https://api.github.com/repos/docker-java/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/docker-java/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-java/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-java/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-java/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/docker-java/docker-java/releases{/id}","created_at":"2014-06-02T18:47:31Z","updated_at":"2015-12-07T06:47:13Z","pushed_at":"2015-12-07T21:39:24Z","git_url":"git://github.com/docker-java/docker-java.git","ssh_url":"git@github.com:docker-java/docker-java.git","clone_url":"https://github.com/docker-java/docker-java.git","svn_url":"https://github.com/docker-java/docker-java","homepage":"","size":2796,"stargazers_count":282,"watchers_count":282,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":40,"forks":192,"open_issues":40,"watchers":282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/392"},"html":{"href":"https://github.com/docker-java/docker-java/pull/392"},"issue":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/392"},"comments":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/docker-java/docker-java/statuses/61bcaa70a32a5b5e3b6556dfb2b84e5cba575e8e"}}}}