{"action":"created","comment":{"url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/comments/192567321","pull_request_review_id":125373772,"id":192567321,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjU2NzMyMQ==","diff_hunk":"@@ -0,0 +1,172 @@\n+package org.itsallcode.openfasttrace.report.view.html;\n+\n+/*-\n+ * #%L\n+ * OpenFastTrace\n+ * %%\n+ * Copyright (C) 2016 - 2018 itsallcode.org\n+ * %%\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License as\n+ * published by the Free Software Foundation, either version 3 of the\n+ * License, or (at your option) any later version.\n+ * \n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ * \n+ * You should have received a copy of the GNU General Public\n+ * License along with this program.  If not, see\n+ * <http://www.gnu.org/licenses/gpl-3.0.html>.\n+ * #L%\n+ */\n+\n+import static org.itsallcode.openfasttrace.core.SampleArtifactTypes.IMPL;\n+import static org.itsallcode.openfasttrace.core.SampleArtifactTypes.ITEST;\n+import static org.itsallcode.openfasttrace.core.SampleArtifactTypes.UTEST;\n+import static org.itsallcode.openfasttrace.report.view.html.CharacterConstants.CHECKMARK;\n+import static org.mockito.Mockito.when;\n+\n+import org.itsallcode.openfasttrace.core.*;\n+import org.itsallcode.openfasttrace.report.view.Viewable;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.mockito.Mock;\n+import org.mockito.MockitoAnnotations;\n+\n+public class TestHtmlSpecificationItem extends AbstractTestHtmlRenderer\n+{\n+    private static final SpecificationItemId ITEM_A_ID = SpecificationItemId\n+            .parseId(\"dsn~name-a~1\");\n+    private static final SpecificationItemId ITEM_B_ID = SpecificationItemId\n+            .parseId(\"impl~name-b~1\");\n+    private static final SpecificationItemId ITEM_C_ID = SpecificationItemId\n+            .parseId(\"utest~name-c~1\");\n+\n+    @Mock\n+    private LinkedSpecificationItem itemMockB;\n+    @Mock\n+    private LinkedSpecificationItem itemMockC;\n+\n+    @Override\n+    @Before\n+    public void prepareEachTest()\n+    {\n+        super.prepareEachTest();\n+        MockitoAnnotations.initMocks(this);","path":"src/test/java/org/itsallcode/openfasttrace/report/view/html/TestHtmlSpecificationItem.java","position":57,"original_position":57,"commit_id":"3b3a75f903715d01477c45074114c03c60b0e4c9","original_commit_id":"3b3a75f903715d01477c45074114c03c60b0e4c9","user":{"login":"redcatbear","id":584162,"node_id":"MDQ6VXNlcjU4NDE2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/584162?v=4","gravatar_id":"","url":"https://api.github.com/users/redcatbear","html_url":"https://github.com/redcatbear","followers_url":"https://api.github.com/users/redcatbear/followers","following_url":"https://api.github.com/users/redcatbear/following{/other_user}","gists_url":"https://api.github.com/users/redcatbear/gists{/gist_id}","starred_url":"https://api.github.com/users/redcatbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redcatbear/subscriptions","organizations_url":"https://api.github.com/users/redcatbear/orgs","repos_url":"https://api.github.com/users/redcatbear/repos","events_url":"https://api.github.com/users/redcatbear/events{/privacy}","received_events_url":"https://api.github.com/users/redcatbear/received_events","type":"User","site_admin":false},"body":"I though about it, but it just seems too odd that the base class not containing any `@Mock` annotations calls `initMocks(this)` and where the annotations are it looks as if I forgot to initialize them.\r\nI could use the `MockitoRunner` but I always found the explicit `initMocks(this)` more transparent.\r\n\r\nNo change.","created_at":"2018-06-02T18:53:11Z","updated_at":"2018-06-02T18:53:11Z","html_url":"https://github.com/itsallcode/openfasttrace/pull/130#discussion_r192567321","pull_request_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/comments/192567321"},"html":{"href":"https://github.com/itsallcode/openfasttrace/pull/130#discussion_r192567321"},"pull_request":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130"}},"in_reply_to_id":192558310},"pull_request":{"url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130","id":180700784,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgwNzAwNzg0","html_url":"https://github.com/itsallcode/openfasttrace/pull/130","diff_url":"https://github.com/itsallcode/openfasttrace/pull/130.diff","patch_url":"https://github.com/itsallcode/openfasttrace/pull/130.patch","issue_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/130","number":130,"state":"open","locked":false,"title":"Story/#129 html report mock up","user":{"login":"redcatbear","id":584162,"node_id":"MDQ6VXNlcjU4NDE2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/584162?v=4","gravatar_id":"","url":"https://api.github.com/users/redcatbear","html_url":"https://github.com/redcatbear","followers_url":"https://api.github.com/users/redcatbear/followers","following_url":"https://api.github.com/users/redcatbear/following{/other_user}","gists_url":"https://api.github.com/users/redcatbear/gists{/gist_id}","starred_url":"https://api.github.com/users/redcatbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redcatbear/subscriptions","organizations_url":"https://api.github.com/users/redcatbear/orgs","repos_url":"https://api.github.com/users/redcatbear/repos","events_url":"https://api.github.com/users/redcatbear/events{/privacy}","received_events_url":"https://api.github.com/users/redcatbear/received_events","type":"User","site_admin":false},"body":"Work in progress...","created_at":"2018-04-10T19:13:49Z","updated_at":"2018-06-02T18:53:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f0b5f331ac84c869fbdbfa0d94a0f1504e6008c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130/commits","review_comments_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130/comments","review_comment_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/130/comments","statuses_url":"https://api.github.com/repos/itsallcode/openfasttrace/statuses/3b3a75f903715d01477c45074114c03c60b0e4c9","head":{"label":"itsallcode:story/#129_HTML_report_mock-up","ref":"story/#129_HTML_report_mock-up","sha":"3b3a75f903715d01477c45074114c03c60b0e4c9","user":{"login":"itsallcode","id":12786252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzg2MjUy","avatar_url":"https://avatars2.githubusercontent.com/u/12786252?v=4","gravatar_id":"","url":"https://api.github.com/users/itsallcode","html_url":"https://github.com/itsallcode","followers_url":"https://api.github.com/users/itsallcode/followers","following_url":"https://api.github.com/users/itsallcode/following{/other_user}","gists_url":"https://api.github.com/users/itsallcode/gists{/gist_id}","starred_url":"https://api.github.com/users/itsallcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsallcode/subscriptions","organizations_url":"https://api.github.com/users/itsallcode/orgs","repos_url":"https://api.github.com/users/itsallcode/repos","events_url":"https://api.github.com/users/itsallcode/events{/privacy}","received_events_url":"https://api.github.com/users/itsallcode/received_events","type":"Organization","site_admin":false},"repo":{"id":48654534,"node_id":"MDEwOlJlcG9zaXRvcnk0ODY1NDUzNA==","name":"openfasttrace","full_name":"itsallcode/openfasttrace","owner":{"login":"itsallcode","id":12786252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzg2MjUy","avatar_url":"https://avatars2.githubusercontent.com/u/12786252?v=4","gravatar_id":"","url":"https://api.github.com/users/itsallcode","html_url":"https://github.com/itsallcode","followers_url":"https://api.github.com/users/itsallcode/followers","following_url":"https://api.github.com/users/itsallcode/following{/other_user}","gists_url":"https://api.github.com/users/itsallcode/gists{/gist_id}","starred_url":"https://api.github.com/users/itsallcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsallcode/subscriptions","organizations_url":"https://api.github.com/users/itsallcode/orgs","repos_url":"https://api.github.com/users/itsallcode/repos","events_url":"https://api.github.com/users/itsallcode/events{/privacy}","received_events_url":"https://api.github.com/users/itsallcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/itsallcode/openfasttrace","description":"Open source requirement tracing suite","fork":false,"url":"https://api.github.com/repos/itsallcode/openfasttrace","forks_url":"https://api.github.com/repos/itsallcode/openfasttrace/forks","keys_url":"https://api.github.com/repos/itsallcode/openfasttrace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsallcode/openfasttrace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsallcode/openfasttrace/teams","hooks_url":"https://api.github.com/repos/itsallcode/openfasttrace/hooks","issue_events_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/events{/number}","events_url":"https://api.github.com/repos/itsallcode/openfasttrace/events","assignees_url":"https://api.github.com/repos/itsallcode/openfasttrace/assignees{/user}","branches_url":"https://api.github.com/repos/itsallcode/openfasttrace/branches{/branch}","tags_url":"https://api.github.com/repos/itsallcode/openfasttrace/tags","blobs_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsallcode/openfasttrace/statuses/{sha}","languages_url":"https://api.github.com/repos/itsallcode/openfasttrace/languages","stargazers_url":"https://api.github.com/repos/itsallcode/openfasttrace/stargazers","contributors_url":"https://api.github.com/repos/itsallcode/openfasttrace/contributors","subscribers_url":"https://api.github.com/repos/itsallcode/openfasttrace/subscribers","subscription_url":"https://api.github.com/repos/itsallcode/openfasttrace/subscription","commits_url":"https://api.github.com/repos/itsallcode/openfasttrace/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsallcode/openfasttrace/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsallcode/openfasttrace/contents/{+path}","compare_url":"https://api.github.com/repos/itsallcode/openfasttrace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsallcode/openfasttrace/merges","archive_url":"https://api.github.com/repos/itsallcode/openfasttrace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsallcode/openfasttrace/downloads","issues_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues{/number}","pulls_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls{/number}","milestones_url":"https://api.github.com/repos/itsallcode/openfasttrace/milestones{/number}","notifications_url":"https://api.github.com/repos/itsallcode/openfasttrace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsallcode/openfasttrace/labels{/name}","releases_url":"https://api.github.com/repos/itsallcode/openfasttrace/releases{/id}","deployments_url":"https://api.github.com/repos/itsallcode/openfasttrace/deployments","created_at":"2015-12-27T17:50:25Z","updated_at":"2018-05-27T15:18:52Z","pushed_at":"2018-06-02T10:34:38Z","git_url":"git://github.com/itsallcode/openfasttrace.git","ssh_url":"git@github.com:itsallcode/openfasttrace.git","clone_url":"https://github.com/itsallcode/openfasttrace.git","svn_url":"https://github.com/itsallcode/openfasttrace","homepage":"","size":2152,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":22,"watchers":6,"default_branch":"develop"}},"base":{"label":"itsallcode:develop","ref":"develop","sha":"2aefc2679d2f41c2ea8e110ab074cd163141fb83","user":{"login":"itsallcode","id":12786252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzg2MjUy","avatar_url":"https://avatars2.githubusercontent.com/u/12786252?v=4","gravatar_id":"","url":"https://api.github.com/users/itsallcode","html_url":"https://github.com/itsallcode","followers_url":"https://api.github.com/users/itsallcode/followers","following_url":"https://api.github.com/users/itsallcode/following{/other_user}","gists_url":"https://api.github.com/users/itsallcode/gists{/gist_id}","starred_url":"https://api.github.com/users/itsallcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsallcode/subscriptions","organizations_url":"https://api.github.com/users/itsallcode/orgs","repos_url":"https://api.github.com/users/itsallcode/repos","events_url":"https://api.github.com/users/itsallcode/events{/privacy}","received_events_url":"https://api.github.com/users/itsallcode/received_events","type":"Organization","site_admin":false},"repo":{"id":48654534,"node_id":"MDEwOlJlcG9zaXRvcnk0ODY1NDUzNA==","name":"openfasttrace","full_name":"itsallcode/openfasttrace","owner":{"login":"itsallcode","id":12786252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzg2MjUy","avatar_url":"https://avatars2.githubusercontent.com/u/12786252?v=4","gravatar_id":"","url":"https://api.github.com/users/itsallcode","html_url":"https://github.com/itsallcode","followers_url":"https://api.github.com/users/itsallcode/followers","following_url":"https://api.github.com/users/itsallcode/following{/other_user}","gists_url":"https://api.github.com/users/itsallcode/gists{/gist_id}","starred_url":"https://api.github.com/users/itsallcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsallcode/subscriptions","organizations_url":"https://api.github.com/users/itsallcode/orgs","repos_url":"https://api.github.com/users/itsallcode/repos","events_url":"https://api.github.com/users/itsallcode/events{/privacy}","received_events_url":"https://api.github.com/users/itsallcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/itsallcode/openfasttrace","description":"Open source requirement tracing suite","fork":false,"url":"https://api.github.com/repos/itsallcode/openfasttrace","forks_url":"https://api.github.com/repos/itsallcode/openfasttrace/forks","keys_url":"https://api.github.com/repos/itsallcode/openfasttrace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsallcode/openfasttrace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsallcode/openfasttrace/teams","hooks_url":"https://api.github.com/repos/itsallcode/openfasttrace/hooks","issue_events_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/events{/number}","events_url":"https://api.github.com/repos/itsallcode/openfasttrace/events","assignees_url":"https://api.github.com/repos/itsallcode/openfasttrace/assignees{/user}","branches_url":"https://api.github.com/repos/itsallcode/openfasttrace/branches{/branch}","tags_url":"https://api.github.com/repos/itsallcode/openfasttrace/tags","blobs_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsallcode/openfasttrace/statuses/{sha}","languages_url":"https://api.github.com/repos/itsallcode/openfasttrace/languages","stargazers_url":"https://api.github.com/repos/itsallcode/openfasttrace/stargazers","contributors_url":"https://api.github.com/repos/itsallcode/openfasttrace/contributors","subscribers_url":"https://api.github.com/repos/itsallcode/openfasttrace/subscribers","subscription_url":"https://api.github.com/repos/itsallcode/openfasttrace/subscription","commits_url":"https://api.github.com/repos/itsallcode/openfasttrace/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsallcode/openfasttrace/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsallcode/openfasttrace/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsallcode/openfasttrace/contents/{+path}","compare_url":"https://api.github.com/repos/itsallcode/openfasttrace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsallcode/openfasttrace/merges","archive_url":"https://api.github.com/repos/itsallcode/openfasttrace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsallcode/openfasttrace/downloads","issues_url":"https://api.github.com/repos/itsallcode/openfasttrace/issues{/number}","pulls_url":"https://api.github.com/repos/itsallcode/openfasttrace/pulls{/number}","milestones_url":"https://api.github.com/repos/itsallcode/openfasttrace/milestones{/number}","notifications_url":"https://api.github.com/repos/itsallcode/openfasttrace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsallcode/openfasttrace/labels{/name}","releases_url":"https://api.github.com/repos/itsallcode/openfasttrace/releases{/id}","deployments_url":"https://api.github.com/repos/itsallcode/openfasttrace/deployments","created_at":"2015-12-27T17:50:25Z","updated_at":"2018-05-27T15:18:52Z","pushed_at":"2018-06-02T10:34:38Z","git_url":"git://github.com/itsallcode/openfasttrace.git","ssh_url":"git@github.com:itsallcode/openfasttrace.git","clone_url":"https://github.com/itsallcode/openfasttrace.git","svn_url":"https://github.com/itsallcode/openfasttrace","homepage":"","size":2152,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":22,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130"},"html":{"href":"https://github.com/itsallcode/openfasttrace/pull/130"},"issue":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/issues/130"},"comments":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/itsallcode/openfasttrace/statuses/3b3a75f903715d01477c45074114c03c60b0e4c9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"redcatbear"}}