{"action":"created","comment":{"url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/comments/41996128","id":41996128,"diff_hunk":"@@ -0,0 +1,34 @@\n+/*\n+ * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com\n+ * The software in this package is published under the terms of the CPAL v1.0\n+ * license, a copy of which has been included with this distribution in the\n+ * LICENSE.txt file.\n+ */\n+package org.mule.extension.api.runtime;\n+\n+import static org.hamcrest.CoreMatchers.is;\n+import static org.junit.Assert.assertThat;\n+\n+import org.junit.Test;\n+\n+public class FixedContentMetadataTestCase extends AbstractContentMetadataTestCase\n+{\n+\n+    @Override\n+    protected ContentMetadata createContentMetadata()\n+    {\n+        return new FixedContextMetadata(inputContentType, outputContentType);\n+    }\n+\n+    @Test(expected = UnsupportedOperationException.class)\n+    public void setOutputContentType()\n+    {\n+        contentMetadata.setOutputContentType(inputContentType);\n+    }\n+\n+    @Test\n+    public void isModifiable()","path":"src/test/java/org/mule/extension/api/runtime/FixedContentMetadataTestCase.java","position":30,"original_position":30,"commit_id":"87d90b4569b3c9e948540ac2f4fea0c057c96358","original_commit_id":"87d90b4569b3c9e948540ac2f4fea0c057c96358","user":{"login":"pablokraan","id":561399,"avatar_url":"https://avatars.githubusercontent.com/u/561399?v=3","gravatar_id":"","url":"https://api.github.com/users/pablokraan","html_url":"https://github.com/pablokraan","followers_url":"https://api.github.com/users/pablokraan/followers","following_url":"https://api.github.com/users/pablokraan/following{/other_user}","gists_url":"https://api.github.com/users/pablokraan/gists{/gist_id}","starred_url":"https://api.github.com/users/pablokraan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablokraan/subscriptions","organizations_url":"https://api.github.com/users/pablokraan/orgs","repos_url":"https://api.github.com/users/pablokraan/repos","events_url":"https://api.github.com/users/pablokraan/events{/privacy}","received_events_url":"https://api.github.com/users/pablokraan/received_events","type":"User","site_admin":false},"body":"Move this test to the abstract class and obtain the expected value using a method/field","created_at":"2015-10-14T13:59:27Z","updated_at":"2015-10-14T13:59:27Z","html_url":"https://github.com/mulesoft/mule-extensions-api/pull/30#discussion_r41996128","pull_request_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/comments/41996128"},"html":{"href":"https://github.com/mulesoft/mule-extensions-api/pull/30#discussion_r41996128"},"pull_request":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30","id":47158673,"html_url":"https://github.com/mulesoft/mule-extensions-api/pull/30","diff_url":"https://github.com/mulesoft/mule-extensions-api/pull/30.diff","patch_url":"https://github.com/mulesoft/mule-extensions-api/pull/30.patch","issue_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/30","number":30,"state":"open","locked":false,"title":"MULE-8959: Add the concept of ContentType in the Extensions framework","user":{"login":"marianogonzalez","id":1272771,"avatar_url":"https://avatars.githubusercontent.com/u/1272771?v=3","gravatar_id":"","url":"https://api.github.com/users/marianogonzalez","html_url":"https://github.com/marianogonzalez","followers_url":"https://api.github.com/users/marianogonzalez/followers","following_url":"https://api.github.com/users/marianogonzalez/following{/other_user}","gists_url":"https://api.github.com/users/marianogonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/marianogonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marianogonzalez/subscriptions","organizations_url":"https://api.github.com/users/marianogonzalez/orgs","repos_url":"https://api.github.com/users/marianogonzalez/repos","events_url":"https://api.github.com/users/marianogonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/marianogonzalez/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-08T14:21:55Z","updated_at":"2015-10-14T13:59:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04bfaabb2c60cd13375b36653414ef1f5f609329","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30/commits","review_comments_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30/comments","review_comment_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/30/comments","statuses_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/statuses/87d90b4569b3c9e948540ac2f4fea0c057c96358","head":{"label":"mulesoft:MULE-8959","ref":"MULE-8959","sha":"87d90b4569b3c9e948540ac2f4fea0c057c96358","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":26641628,"name":"mule-extensions-api","full_name":"mulesoft/mule-extensions-api","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/mule-extensions-api","description":"Mule Extensions API","fork":false,"url":"https://api.github.com/repos/mulesoft/mule-extensions-api","forks_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/forks","keys_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/events","assignees_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/merges","archive_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/releases{/id}","created_at":"2014-11-14T14:18:37Z","updated_at":"2015-04-28T13:40:30Z","pushed_at":"2015-10-13T19:58:17Z","git_url":"git://github.com/mulesoft/mule-extensions-api.git","ssh_url":"git@github.com:mulesoft/mule-extensions-api.git","clone_url":"https://github.com/mulesoft/mule-extensions-api.git","svn_url":"https://github.com/mulesoft/mule-extensions-api","homepage":null,"size":677,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"mulesoft:master","ref":"master","sha":"303b73a9fe1321edfa2c022b4fe9a44fa771d79c","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":26641628,"name":"mule-extensions-api","full_name":"mulesoft/mule-extensions-api","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/mule-extensions-api","description":"Mule Extensions API","fork":false,"url":"https://api.github.com/repos/mulesoft/mule-extensions-api","forks_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/forks","keys_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/teams","hooks_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/events","assignees_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/tags","blobs_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/languages","stargazers_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/subscription","commits_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/merges","archive_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/downloads","issues_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/mule-extensions-api/releases{/id}","created_at":"2014-11-14T14:18:37Z","updated_at":"2015-04-28T13:40:30Z","pushed_at":"2015-10-13T19:58:17Z","git_url":"git://github.com/mulesoft/mule-extensions-api.git","ssh_url":"git@github.com:mulesoft/mule-extensions-api.git","clone_url":"https://github.com/mulesoft/mule-extensions-api.git","svn_url":"https://github.com/mulesoft/mule-extensions-api","homepage":null,"size":677,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30"},"html":{"href":"https://github.com/mulesoft/mule-extensions-api/pull/30"},"issue":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/30"},"comments":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/mulesoft/mule-extensions-api/statuses/87d90b4569b3c9e948540ac2f4fea0c057c96358"}}}}